summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-06-18 21:25:33 +0300
committerLauri Ojansivu <x@xet7.org>2019-06-18 21:25:33 +0300
commite72f186a363b6a56d9e89ea5e3382c0a6ce59294 (patch)
tree37762665f46fae43bd3bb4b0f4ac6c8089eec9bc /client
parent98c6ea467a83d501bed8d92dd5e2d9da6281895d (diff)
parentc3d495e7c6dead054e897bc51703220b720dbb86 (diff)
downloadwekan-e72f186a363b6a56d9e89ea5e3382c0a6ce59294.tar.gz
wekan-e72f186a363b6a56d9e89ea5e3382c0a6ce59294.tar.bz2
wekan-e72f186a363b6a56d9e89ea5e3382c0a6ce59294.zip
Merge branch 'road42-devel' into devel
Diffstat (limited to 'client')
-rw-r--r--client/components/rules/rulesList.jade12
1 files changed, 11 insertions, 1 deletions
diff --git a/client/components/rules/rulesList.jade b/client/components/rules/rulesList.jade
index c2676aa7..b8d49a66 100644
--- a/client/components/rules/rulesList.jade
+++ b/client/components/rules/rulesList.jade
@@ -17,6 +17,10 @@ template(name="rulesList")
button.js-delete-rule
i.fa.fa-trash-o
| {{{_ 'r-delete-rule'}}}
+ else if currentUser.isBoardAdmin
+ button.js-delete-rule
+ i.fa.fa-trash-o
+ | {{{_ 'r-delete-rule'}}}
else
li.no-items-message {{{_ 'r-no-rules' }}}
if currentUser.isAdmin
@@ -24,4 +28,10 @@ template(name="rulesList")
button.js-goto-trigger
i.fa.fa-plus
| {{{_ 'r-add-rule'}}}
- input(type=text,placeholder="{{{_ 'r-new-rule-name' }}}",id="ruleTitle") \ No newline at end of file
+ input(type=text,placeholder="{{{_ 'r-new-rule-name' }}}",id="ruleTitle")
+ else if currentUser.isBoardAdmin
+ div.rules-add
+ button.js-goto-trigger
+ i.fa.fa-plus
+ | {{{_ 'r-add-rule'}}}
+ input(type=text,placeholder="{{{_ 'r-new-rule-name' }}}",id="ruleTitle")