|
|
|
|
@ -34,22 +34,20 @@ template(name="boardActivities") |
|
|
|
|
.activity-checklist(href="{{ card.absoluteUrl }}") |
|
|
|
|
+viewer |
|
|
|
|
= checklist.title |
|
|
|
|
if($eq activityType 'removeChecklist') |
|
|
|
|
| {{{_ 'activity-checklist-removed' cardLink}}} |
|
|
|
|
if($eq activityType 'removedChecklist') |
|
|
|
|
| {{{_ 'activity-checklist-removed' cardLink}}}. |
|
|
|
|
|
|
|
|
|
if($eq activityType 'checkedItem') |
|
|
|
|
| {{{_ 'activity-checked-item' checkItem checklist.title cardLink}}} |
|
|
|
|
| {{{_ 'activity-checked-item' checkItem checklist.title cardLink}}}. |
|
|
|
|
|
|
|
|
|
if($eq activityType 'uncheckedItem') |
|
|
|
|
| {{{_ 'activity-unchecked-item' checkItem checklist.title cardLink}}} |
|
|
|
|
| {{{_ 'activity-unchecked-item' checkItem checklist.title cardLink}}}. |
|
|
|
|
|
|
|
|
|
if($eq activityType 'checklistCompleted') |
|
|
|
|
| {{{_ 'activity-checklist-completed' checklist.title cardLink}}} |
|
|
|
|
| {{{_ 'activity-checklist-completed' checklist.title cardLink}}}. |
|
|
|
|
|
|
|
|
|
if($eq activityType 'checklistUncompleted') |
|
|
|
|
| {{{_ 'activity-checklist-uncompleted' checklist.title cardLink}}} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| {{{_ 'activity-checklist-uncompleted' checklist.title cardLink}}}. |
|
|
|
|
|
|
|
|
|
if($eq activityType 'addChecklistItem') |
|
|
|
|
| {{{_ 'activity-checklist-item-added' checklist.title cardLink}}}. |
|
|
|
|
@ -57,7 +55,7 @@ template(name="boardActivities") |
|
|
|
|
+viewer |
|
|
|
|
= checklistItem.title |
|
|
|
|
if($eq activityType 'removedChecklistItem') |
|
|
|
|
| {{{_ 'activity-checklist-item-removed' checklist.title cardLink}}} |
|
|
|
|
| {{{_ 'activity-checklist-item-removed' checklist.title cardLink}}}. |
|
|
|
|
|
|
|
|
|
if($eq activityType 'archivedCard') |
|
|
|
|
| {{{_ 'activity-archived' cardLink}}}. |
|
|
|
|
@ -116,7 +114,6 @@ template(name="boardActivities") |
|
|
|
|
if($eq activityType 'removedLabel') |
|
|
|
|
| {{{_ 'activity-removed-label' lastLabel cardLink}}}. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if($eq activityType 'unjoinMember') |
|
|
|
|
if($eq user._id member._id) |
|
|
|
|
| {{{_ 'activity-unjoined' cardLink}}}. |
|
|
|
|
@ -147,6 +144,25 @@ template(name="cardActivities") |
|
|
|
|
| {{{_ 'activity-removed' cardLabel memberLink}}}. |
|
|
|
|
if($eq activityType 'archivedCard') |
|
|
|
|
| {{_ 'activity-archived' cardLabel}}. |
|
|
|
|
|
|
|
|
|
if($eq activityType 'addedLabel') |
|
|
|
|
| {{{_ 'activity-added-label-card' lastLabel }}}. |
|
|
|
|
|
|
|
|
|
if($eq activityType 'removedLabel') |
|
|
|
|
| {{{_ 'activity-removed-label-card' lastLabel }}}. |
|
|
|
|
|
|
|
|
|
if($eq activityType 'checkedItem') |
|
|
|
|
| {{{_ 'activity-checked-item-card' checkItem checklist.title }}}. |
|
|
|
|
|
|
|
|
|
if($eq activityType 'uncheckedItem') |
|
|
|
|
| {{{_ 'activity-unchecked-item-card' checkItem checklist.title }}}. |
|
|
|
|
|
|
|
|
|
if($eq activityType 'checklistCompleted') |
|
|
|
|
| {{{_ 'activity-checklist-completed-card' checklist.title }}}. |
|
|
|
|
|
|
|
|
|
if($eq activityType 'checklistUncompleted') |
|
|
|
|
| {{{_ 'activity-checklist-uncompleted-card' checklist.title }}}. |
|
|
|
|
|
|
|
|
|
if($eq activityType 'restoredCard') |
|
|
|
|
| {{_ 'activity-sent' cardLabel boardLabel}}. |
|
|
|
|
if($eq activityType 'moveCard') |
|
|
|
|
@ -156,7 +172,9 @@ template(name="cardActivities") |
|
|
|
|
if attachment.isImage |
|
|
|
|
img.attachment-image-preview(src=attachment.url) |
|
|
|
|
if($eq activityType 'deleteAttachment') |
|
|
|
|
| {{{_ 'activity-attached' attachmentLink cardLabel}}}. |
|
|
|
|
| {{{_ 'activity-delete-attach' cardLabel}}}. |
|
|
|
|
if($eq activityType 'removedChecklist') |
|
|
|
|
| {{{_ 'activity-checklist-removed' cardLabel}}}. |
|
|
|
|
if($eq activityType 'addChecklist') |
|
|
|
|
| {{{_ 'activity-checklist-added' cardLabel}}}. |
|
|
|
|
.activity-checklist |
|
|
|
|
|