summaryrefslogtreecommitdiffstats
path: root/client/components/lists
diff options
context:
space:
mode:
authorRyan Helsing <ryanhelsing@gmail.com>2017-03-18 15:27:24 -0400
committerRyan Helsing <ryanhelsing@gmail.com>2017-03-18 15:27:24 -0400
commitcf85c9c6cda86ede8fdfe746a8affc33b8ba4719 (patch)
tree4c56b7ff45054b28834df95aef97e031726c65b5 /client/components/lists
parent383daf6f6416e6e3dfe98cf9fcc5528948f35999 (diff)
downloadwekan-cf85c9c6cda86ede8fdfe746a8affc33b8ba4719.tar.gz
wekan-cf85c9c6cda86ede8fdfe746a8affc33b8ba4719.tar.bz2
wekan-cf85c9c6cda86ede8fdfe746a8affc33b8ba4719.zip
dont show list options
Diffstat (limited to 'client/components/lists')
-rw-r--r--client/components/lists/listHeader.jade21
1 files changed, 11 insertions, 10 deletions
diff --git a/client/components/lists/listHeader.jade b/client/components/lists/listHeader.jade
index 29aa4282..ae178c94 100644
--- a/client/components/lists/listHeader.jade
+++ b/client/components/lists/listHeader.jade
@@ -26,16 +26,17 @@ 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
+ 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