diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-08-29 15:23:54 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-08-29 15:23:54 +0200 |
commit | 69b908422fa0b9fbfe636bed3fee6f93ff128002 (patch) | |
tree | 7ca17be39ef3b1443bdb3a2f73201471ba952fdb | |
parent | dd9192d097b7b0de2be2d2fbb349e50f668f8250 (diff) | |
download | wekan-69b908422fa0b9fbfe636bed3fee6f93ff128002.tar.gz wekan-69b908422fa0b9fbfe636bed3fee6f93ff128002.tar.bz2 wekan-69b908422fa0b9fbfe636bed3fee6f93ff128002.zip |
Fix a bug with the comment buttons
-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", |