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.
39 lines
1.2 KiB
39 lines
1.2 KiB
//-
|
|
XXX This template can't be transformed into a component because it is
|
|
included by iron-router. That's a bug.
|
|
See https://github.com/peerlibrary/meteor-blaze-components/issues/44
|
|
template(name="board")
|
|
+boardComponent
|
|
|
|
template(name="boardComponent")
|
|
if this
|
|
.board-wrapper(class=colorClass)
|
|
.board-canvas(
|
|
class=sidebarSize
|
|
class="{{#if MultiSelection.isActive}}is-multiselection-active{{/if}}"
|
|
class="{{#if draggingActive.get}}is-dragging-active{{/if}}")
|
|
if showOverlay.get
|
|
.board-overlay
|
|
.lists.js-lists
|
|
each lists
|
|
+list(this)
|
|
if currentCardIsInThisList
|
|
+cardDetails(currentCard)
|
|
if currentUser.isBoardMember
|
|
+addListForm
|
|
+sidebar
|
|
else
|
|
+message(label="board-no-found")
|
|
|
|
template(name="addListForm")
|
|
.list.js-list.list-composer.js-list-composer
|
|
+inlinedForm(autoclose=false)
|
|
input.list-name-input(type="text" placeholder="{{_ 'add-list'}}"
|
|
autocomplete="off" autofocus)
|
|
.edit-controls.clearfix
|
|
button.primary.confirm(type="submit") {{_ 'save'}}
|
|
a.fa.fa-times-thin.js-close-inlined-form
|
|
else
|
|
a.js-open-inlined-form
|
|
i.fa.fa-plus
|
|
| {{_ 'add-list'}}
|
|
|