diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-03-28 20:55:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-28 20:55:02 +0300 |
commit | 578619d409b4952da34ac5f286c4d80a14b2015d (patch) | |
tree | 8c5aec1191ff21975569432a3496dc581f2247b4 /client/components/lists/listHeader.jade | |
parent | 0c36f5f4c27dce6207b1d8093f387d6a55a6da02 (diff) | |
parent | e7fddc2bcb71fca3e806ac75280d5c81dfc1529e (diff) | |
download | wekan-578619d409b4952da34ac5f286c4d80a14b2015d.tar.gz wekan-578619d409b4952da34ac5f286c4d80a14b2015d.tar.bz2 wekan-578619d409b4952da34ac5f286c4d80a14b2015d.zip |
Merge pull request #925 from rhelsing/comment-permissions
Comment permissions
Diffstat (limited to 'client/components/lists/listHeader.jade')
-rw-r--r-- | client/components/lists/listHeader.jade | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/client/components/lists/listHeader.jade b/client/components/lists/listHeader.jade index 29aa4282..3f6ce0eb 100644 --- a/client/components/lists/listHeader.jade +++ b/client/components/lists/listHeader.jade @@ -25,17 +25,18 @@ template(name="editListTitleForm") template(name="listActionPopup") ul.pop-over-list li: a.js-toggle-watch-list {{#if isWatching}}{{_ 'unwatch'}}{{else}}{{_ 'watch'}}{{/if}} - hr - ul.pop-over-list - li: a.js-add-card {{_ 'add-card'}} - if cards.count - li: a.js-select-cards {{_ 'list-select-cards'}} - hr - ul.pop-over-list - li: a.js-close-list {{_ 'archive-list'}} - hr - ul.pop-over-list - li: a.js-remove-list {{_ 'remove-list'}} + unless currentUser.isCommentOnly + hr + ul.pop-over-list + li: a.js-add-card {{_ 'add-card'}} + if cards.count + li: a.js-select-cards {{_ 'list-select-cards'}} + hr + ul.pop-over-list + li: a.js-close-list {{_ 'archive-list'}} + hr + ul.pop-over-list + li: a.js-remove-list {{_ 'remove-list'}} template(name="boardLists") ul.pop-over-list |