summaryrefslogtreecommitdiffstats
path: root/client/components/activities
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-08-29 15:23:54 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-08-29 15:23:54 +0200
commit69b908422fa0b9fbfe636bed3fee6f93ff128002 (patch)
tree7ca17be39ef3b1443bdb3a2f73201471ba952fdb /client/components/activities
parentdd9192d097b7b0de2be2d2fbb349e50f668f8250 (diff)
downloadwekan-69b908422fa0b9fbfe636bed3fee6f93ff128002.tar.gz
wekan-69b908422fa0b9fbfe636bed3fee6f93ff128002.tar.bz2
wekan-69b908422fa0b9fbfe636bed3fee6f93ff128002.zip
Fix a bug with the comment buttons
Diffstat (limited to 'client/components/activities')
-rw-r--r--client/components/activities/activities.jade6
1 files changed, 3 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"}}