diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-10-20 17:08:54 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-10-20 17:08:54 +0300 |
commit | 2edced54676b99059533977392a92fe79d107edd (patch) | |
tree | 54ba4be3ce86e226f71f067b2b9d570a04e103d0 /client | |
parent | 509b6405886be35024676ce1e6fba1d760433342 (diff) | |
download | wekan-2edced54676b99059533977392a92fe79d107edd.tar.gz wekan-2edced54676b99059533977392a92fe79d107edd.tar.bz2 wekan-2edced54676b99059533977392a92fe79d107edd.zip |
Fix: User with comment only permission can add cards. Thanks to xet7 ! Closes #1301
Diffstat (limited to 'client')
-rw-r--r-- | client/components/lists/listHeader.jade | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/client/components/lists/listHeader.jade b/client/components/lists/listHeader.jade index c1055008..2927fe59 100644 --- a/client/components/lists/listHeader.jade +++ b/client/components/lists/listHeader.jade @@ -17,9 +17,10 @@ template(name="listHeader") if isWatching i.list-header-watch-icon.fa.fa-eye div.list-header-menu - unless isWipLimitEnabled - a.js-add-card.fa.fa-plus.list-header-plus-icon - a.fa.fa-navicon.js-open-list-menu + unless currentUser.isCommentOnly + unless isWipLimitEnabled + a.js-add-card.fa.fa-plus.list-header-plus-icon + a.fa.fa-navicon.js-open-list-menu template(name="editListTitleForm") .list-composer |