summaryrefslogtreecommitdiffstats
path: root/client/components/lists/listHeader.jade
diff options
context:
space:
mode:
authoramadilsons <joao.amado.95@gmail.com>2017-09-28 16:59:53 +0200
committeramadilsons <joao.amado.95@gmail.com>2017-09-28 16:59:53 +0200
commitc9c650664fd92f0924afb4548a50c7bca167d955 (patch)
tree304125a6c8eae4494af0847577dccd2eddd2b0bf /client/components/lists/listHeader.jade
parenteb945f26a3be316fb2ae4452d6db45a11f8b91d4 (diff)
downloadwekan-c9c650664fd92f0924afb4548a50c7bca167d955.tar.gz
wekan-c9c650664fd92f0924afb4548a50c7bca167d955.tar.bz2
wekan-c9c650664fd92f0924afb4548a50c7bca167d955.zip
basic frontend setup, List model updated with wipLimit field
Diffstat (limited to 'client/components/lists/listHeader.jade')
-rw-r--r--client/components/lists/listHeader.jade12
1 files changed, 12 insertions, 0 deletions
diff --git a/client/components/lists/listHeader.jade b/client/components/lists/listHeader.jade
index 68336320..67fbe958 100644
--- a/client/components/lists/listHeader.jade
+++ b/client/components/lists/listHeader.jade
@@ -6,6 +6,11 @@ template(name="listHeader")
h2.list-header-name(
class="{{#if currentUser.isBoardMember}}js-open-inlined-form is-editable{{/if}}")
= title
+ if hasWipLimit
+ span.wip-limit
+ | (
+ = wipLimit
+ | )
if showCardsCountForList cards.count
= cards.count
span.lowercase
@@ -34,6 +39,9 @@ template(name="listActionPopup")
li: a.js-select-cards {{_ 'list-select-cards'}}
hr
ul.pop-over-list
+ li: a.js-set-wip-limit {{#if hasWipLimit}}{{_ 'edit-wip-limit'}}{{else}}{{_ 'set-wip-limit'}}{{/if}}
+ hr
+ ul.pop-over-list
li: a.js-close-list {{_ 'archive-list'}}
hr
ul.pop-over-list
@@ -64,3 +72,7 @@ template(name="listDeletePopup")
unless archived
p {{_ "list-delete-suggest-archive"}}
button.js-confirm.negate.full(type="submit") {{_ 'delete'}}
+
+template(name="setWipLimitPopup")
+ p {{_ 'set-wip-limit'}}
+ input(type="number")