From d1debdc600bf80f2d557ad56518b1bea59597489 Mon Sep 17 00:00:00 2001 From: Dragory Date: Sat, 12 Jan 2019 12:22:20 +0200 Subject: [PATCH] ModActions: case list formatting tweaks --- src/plugins/ModActions.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/ModActions.ts b/src/plugins/ModActions.ts index b8d6ef42..deb579f2 100644 --- a/src/plugins/ModActions.ts +++ b/src/plugins/ModActions.ts @@ -928,7 +928,8 @@ export class ModActionsPlugin extends ZeppelinPlugin { reason = disableLinkPreviews(reason); let line = `Case \`#${theCase.case_number}\` __${CaseTypes[theCase.type]}__ ${reason}`; - if (theCase.notes.length > 1) line += ` (+ ${theCase.notes.length - 1} notes)`; + if (theCase.notes.length > 1) + line += ` *(+${theCase.notes.length - 1} ${theCase.notes.length === 2 ? "note" : "notes"})*`; lines.push(line); }