mirror of https://github.com/wekan/wekan
The Open Source kanban (built with Meteor). Keep variable/table/field names camelCase. For translations, only add Pull Request changes to wekan/i18n/en.i18n.json , other translations are done at https://transifex.com/wekan/wekan only.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
2.1 KiB
60 lines
2.1 KiB
template(name="swimlaneHeader")
|
|
.swimlane-header-wrap.js-swimlane-header(class='{{#if colorClass}}swimlane-{{colorClass}}{{/if}}')
|
|
if this.isTemplateContainer
|
|
+swimlaneFixedHeader(this)
|
|
else
|
|
+inlinedForm
|
|
+editSwimlaneTitleForm
|
|
else
|
|
+swimlaneFixedHeader(this)
|
|
|
|
template(name="swimlaneFixedHeader")
|
|
.swimlane-header(
|
|
class="{{#if currentUser.isBoardMember}}js-open-inlined-form is-editable{{/if}}")
|
|
= title
|
|
.swimlane-header-menu
|
|
unless currentUser.isCommentOnly
|
|
a.fa.fa-plus.js-open-add-swimlane-menu.swimlane-header-plus-icon
|
|
a.fa.fa-navicon.js-open-swimlane-menu
|
|
|
|
template(name="editSwimlaneTitleForm")
|
|
.list-composer
|
|
input.list-name-input.full-line(type="text" value=title autofocus)
|
|
.edit-controls.clearfix
|
|
button.primary.confirm(type="submit") {{_ 'save'}}
|
|
a.fa.fa-times-thin.js-close-inlined-form
|
|
|
|
template(name="swimlaneActionPopup")
|
|
unless currentUser.isCommentOnly
|
|
ul.pop-over-list
|
|
li: a.js-set-swimlane-color {{_ 'select-color'}}
|
|
unless this.isTemplateContainer
|
|
hr
|
|
ul.pop-over-list
|
|
li: a.js-close-swimlane {{_ 'archive-swimlane'}}
|
|
|
|
template(name="swimlaneAddPopup")
|
|
unless currentUser.isCommentOnly
|
|
form
|
|
input.swimlane-name-input.full-line(type="text" placeholder="{{_ 'add-swimlane'}}"
|
|
autocomplete="off" autofocus)
|
|
.edit-controls.clearfix
|
|
button.primary.confirm(type="submit") {{_ 'add'}}
|
|
unless currentBoard.isTemplatesBoard
|
|
unless currentBoard.isTemplateBoard
|
|
span.quiet
|
|
| {{_ 'or'}}
|
|
a.js-swimlane-template {{_ 'template'}}
|
|
|
|
template(name="setSwimlaneColorPopup")
|
|
form.edit-label
|
|
.palette-colors: each colors
|
|
span.card-label.palette-color.js-palette-color(class="card-details-{{color}}")
|
|
if(isSelected color)
|
|
i.fa.fa-check
|
|
button.primary.confirm.js-submit {{_ 'save'}}
|
|
button.js-remove-color.negate.wide.right {{_ 'unset-color'}}
|
|
|
|
template(name="swimlaneDeletePopup")
|
|
p {{_ "swimlane-delete-pop"}}
|
|
button.js-confirm.negate.full(type="submit") {{_ 'delete'}}
|
|
|