diff options
author | Christoph Jahn <cj@road42.de> | 2019-06-08 22:04:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-08 22:04:09 +0200 |
commit | 0704cfb8b63ec93615f08f4c00bc4a2cd4ac92de (patch) | |
tree | 28c9e0f99f12c815851d754ea6a8e0486c0e2512 /client/components | |
parent | 27b0fd35b486eae99067c6d05014c099845a09cb (diff) | |
download | wekan-0704cfb8b63ec93615f08f4c00bc4a2cd4ac92de.tar.gz wekan-0704cfb8b63ec93615f08f4c00bc4a2cd4ac92de.tar.bz2 wekan-0704cfb8b63ec93615f08f4c00bc4a2cd4ac92de.zip |
isAdmin and isBoardAdmin should add rules
Diffstat (limited to 'client/components')
-rw-r--r-- | client/components/boards/boardHeader.jade | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/client/components/boards/boardHeader.jade b/client/components/boards/boardHeader.jade index 7925defb..fe533f95 100644 --- a/client/components/boards/boardHeader.jade +++ b/client/components/boards/boardHeader.jade @@ -85,7 +85,12 @@ template(name="boardHeaderBar") if Filter.isActive a.board-header-btn-close.js-filter-reset(title="{{_ 'filter-clear'}}") i.fa.fa-times-thin - if currentUser.isBoardAdmin + + if currentUser.isAdmin + a.board-header-btn.js-open-rules-view(title="{{_ 'rules'}}") + i.fa.fa-magic + span {{_ 'rules'}} + else if currentUser.isBoardAdmin a.board-header-btn.js-open-rules-view(title="{{_ 'rules'}}") i.fa.fa-magic span {{_ 'rules'}} |