summaryrefslogtreecommitdiffstats
path: root/client/components/lists/listHeader.jade
diff options
context:
space:
mode:
authoramadilsons <joao.amado.95@gmail.com>2017-10-04 17:48:37 +0200
committeramadilsons <joao.amado.95@gmail.com>2017-10-04 17:48:37 +0200
commitc865bfe49785181d97b25cb683c0ed37d82c1a69 (patch)
tree5d796c8602f9001c3e91f9edbc73a83315750ad1 /client/components/lists/listHeader.jade
parent089dbf0cf6a3e144d0271a8666d58e689f8c8dba (diff)
downloadwekan-c865bfe49785181d97b25cb683c0ed37d82c1a69.tar.gz
wekan-c865bfe49785181d97b25cb683c0ed37d82c1a69.tar.bz2
wekan-c865bfe49785181d97b25cb683c0ed37d82c1a69.zip
most work concluded, code needs clean up, further testing required
Diffstat (limited to 'client/components/lists/listHeader.jade')
-rw-r--r--client/components/lists/listHeader.jade13
1 files changed, 6 insertions, 7 deletions
diff --git a/client/components/lists/listHeader.jade b/client/components/lists/listHeader.jade
index 97dbf1c8..df395d65 100644
--- a/client/components/lists/listHeader.jade
+++ b/client/components/lists/listHeader.jade
@@ -36,9 +36,10 @@ template(name="listActionPopup")
if cards.count
li: a.js-select-cards {{_ 'list-select-cards'}}
hr
- ul.pop-over-list
- li: a.js-set-wip-limit {{#if isWipLimitEnabled }}EDIT{{else}}{{_ 'setWipLimitPopup-title'}}{{/if}}
- hr
+ if currentUser.isBoardAdmin
+ ul.pop-over-list
+ li: a.js-set-wip-limit {{#if isWipLimitEnabled }}{{_ 'edit-wip-limit'}}{{else}}{{_ 'setWipLimitPopup-title'}}{{/if}}
+ hr
ul.pop-over-list
li: a.js-close-list {{_ 'archive-list'}}
hr
@@ -74,13 +75,11 @@ template(name="listDeletePopup")
template(name="setWipLimitPopup")
#js-wip-limit-edit
lable {{_ 'set-wip-limit-value'}}
- {{one}}
ul.pop-over-list
li: a.js-enable-wip-limit Enable WIP Limit
- if isWipLimitEnabled
+ if wipEnabled.get
i.fa.fa-check
-
- if isWipLimitEnabled
+ if wipEnabled.get
p
input.wip-limit-value(type="number" value="#{wipLimit.value}" min="1" max="99" onkeydown="return false")
input.wip-limit-apply(type="submit" value="{{_ 'apply'}}")