diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-01-25 19:05:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-25 19:05:44 +0200 |
commit | 5d6203f5f99d02fc508015c0889977da55eff2f1 (patch) | |
tree | 3663d29721ea91df9546bef35cd3896d0fecb1cb /client/components/lists/listHeader.jade | |
parent | 4a2576fbc200d397bcf7cede45316d9fb7e520dd (diff) | |
parent | 97d95b4bcbcab86629e368ea41bb9f00450b21f6 (diff) | |
download | wekan-5d6203f5f99d02fc508015c0889977da55eff2f1.tar.gz wekan-5d6203f5f99d02fc508015c0889977da55eff2f1.tar.bz2 wekan-5d6203f5f99d02fc508015c0889977da55eff2f1.zip |
Merge pull request #2128 from bentiss/color-lists
Color lists
Diffstat (limited to 'client/components/lists/listHeader.jade')
-rw-r--r-- | client/components/lists/listHeader.jade | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/client/components/lists/listHeader.jade b/client/components/lists/listHeader.jade index 25ab8c20..eafcc510 100644 --- a/client/components/lists/listHeader.jade +++ b/client/components/lists/listHeader.jade @@ -1,5 +1,7 @@ template(name="listHeader") - .list-header.js-list-header + .list-header.js-list-header( + class="{{#if limitToShowCardsCount}}list-header-card-count{{/if}}" + class="{{#if colorClass}}list-header-{{colorClass}}{{/if}}") +inlinedForm +editListTitleForm else @@ -50,6 +52,9 @@ template(name="listActionPopup") unless currentUser.isCommentOnly hr ul.pop-over-list + li: a.js-set-color-list {{_ 'set-color-list'}} + hr + ul.pop-over-list if cards.count li: a.js-select-cards {{_ 'list-select-cards'}} hr @@ -111,3 +116,12 @@ template(name="wipLimitErrorPopup") p {{_ 'wipLimitErrorPopup-dialog-pt1'}} p {{_ 'wipLimitErrorPopup-dialog-pt2'}} button.full.js-back-view(type="submit") {{_ 'cancel'}} + +template(name="setListColorPopup") + form.edit-label + .palette-colors: each colors + span.card-label.palette-color.js-palette-color(class="list-header-{{color}}") + if(isSelected color) + i.fa.fa-check + button.primary.confirm.js-submit {{_ 'save'}} + button.js-remove-color.negate.wide.right {{_ 'unset-color'}} |