Fix a bug with the comment buttons

This commit is contained in:
Maxime Quandalle 2015-08-29 15:23:54 +02:00
parent dd9192d097
commit 69b908422f
2 changed files with 4 additions and 3 deletions

View file

@ -103,9 +103,9 @@ template(name="cardActivities")
.activity-comment .activity-comment
+viewer +viewer
= comment.text = comment.text
if ($eq currentUser comment.userId) span.activity-meta {{ moment createdAt }}
span.activity-meta if ($eq currentUser._id comment.userId)
| {{ moment createdAt }} - = ' - '
a.js-open-inlined-form {{_ "edit"}} a.js-open-inlined-form {{_ "edit"}}
= ' - ' = ' - '
a.js-delete-comment {{_ "delete"}} a.js-delete-comment {{_ "delete"}}

View file

@ -2,6 +2,7 @@
"account-details": "Account Details", "account-details": "Account Details",
"actions": "Actions", "actions": "Actions",
"activity": "Activity", "activity": "Activity",
"activities": "Activities",
"activity-archived": "archived %s", "activity-archived": "archived %s",
"activity-created": "created %s", "activity-created": "created %s",
"activity-added": "added %s to %s", "activity-added": "added %s to %s",