diff options
-rw-r--r-- | client/components/activities/activities.jade | 6 | ||||
-rw-r--r-- | i18n/en.i18n.json | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/client/components/activities/activities.jade b/client/components/activities/activities.jade index ffe4b233..85b1276e 100644 --- a/client/components/activities/activities.jade +++ b/client/components/activities/activities.jade @@ -103,9 +103,9 @@ template(name="cardActivities") .activity-comment +viewer = comment.text - if ($eq currentUser comment.userId) - span.activity-meta - | {{ moment createdAt }} - + span.activity-meta {{ moment createdAt }} + if ($eq currentUser._id comment.userId) + = ' - ' a.js-open-inlined-form {{_ "edit"}} = ' - ' a.js-delete-comment {{_ "delete"}} diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json index 9aaff5d6..7f18dae7 100644 --- a/i18n/en.i18n.json +++ b/i18n/en.i18n.json @@ -2,6 +2,7 @@ "account-details": "Account Details", "actions": "Actions", "activity": "Activity", + "activities": "Activities", "activity-archived": "archived %s", "activity-created": "created %s", "activity-added": "added %s to %s", |