2018-01-19 12:22:03 -03:00
|
|
|
template(name="swimlane")
|
2018-02-27 20:11:43 -03:00
|
|
|
.swimlane.js-lists.js-swimlane
|
2018-02-01 13:10:30 -03:00
|
|
|
+swimlaneHeader
|
2018-01-19 12:22:03 -03:00
|
|
|
if isMiniScreen
|
|
|
|
|
if currentList
|
|
|
|
|
+list(currentList)
|
|
|
|
|
else
|
|
|
|
|
each currentBoard.lists
|
|
|
|
|
+miniList(this)
|
|
|
|
|
if currentUser.isBoardMember
|
|
|
|
|
+addListForm
|
|
|
|
|
else
|
|
|
|
|
each currentBoard.lists
|
|
|
|
|
+list(this)
|
2018-01-31 13:02:50 -03:00
|
|
|
if currentCardIsInThisList _id ../_id
|
2018-01-19 12:22:03 -03:00
|
|
|
+cardDetails(currentCard)
|
|
|
|
|
if currentUser.isBoardMember
|
2018-01-19 16:00:02 -03:00
|
|
|
+addListAndSwimlaneForm
|
|
|
|
|
|
2018-01-22 23:35:23 -03:00
|
|
|
template(name="listsGroup")
|
|
|
|
|
.swimlane.js-lists
|
|
|
|
|
if isMiniScreen
|
|
|
|
|
if currentList
|
|
|
|
|
+list(currentList)
|
|
|
|
|
else
|
|
|
|
|
each currentBoard.lists
|
|
|
|
|
+miniList(this)
|
|
|
|
|
if currentUser.isBoardMember
|
|
|
|
|
+addListForm
|
|
|
|
|
else
|
|
|
|
|
each currentBoard.lists
|
|
|
|
|
+list(this)
|
2018-01-31 15:46:59 -03:00
|
|
|
if currentCardIsInThisList _id null
|
2018-01-22 23:35:23 -03:00
|
|
|
+cardDetails(currentCard)
|
|
|
|
|
if currentUser.isBoardMember
|
|
|
|
|
+addListForm
|
|
|
|
|
|
2018-01-19 16:00:02 -03:00
|
|
|
template(name="addListAndSwimlaneForm")
|
2018-02-28 11:24:39 -03:00
|
|
|
.list.list-composer.js-list-composer
|
2018-01-19 16:00:02 -03:00
|
|
|
.list-header
|
|
|
|
|
+inlinedForm(autoclose=false)
|
|
|
|
|
input.list-name-input.full-line(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.open-list-composer.js-open-inlined-form
|
|
|
|
|
i.fa.fa-plus
|
|
|
|
|
| {{_ 'add-list'}}
|
|
|
|
|
.list-header
|
|
|
|
|
+inlinedForm(autoclose=false)
|
|
|
|
|
input.swimlane-name-input.full-line(type="text" placeholder="{{_ 'add-swimlane'}}"
|
|
|
|
|
autocomplete="off" autofocus)
|
|
|
|
|
.edit-controls.clearfix
|
|
|
|
|
button.primary.confirm(type="submit") {{_ 'save'}}
|
|
|
|
|
a.fa.fa-times-thin.js-close-inlined-form
|
|
|
|
|
else
|
|
|
|
|
a.open-list-composer.js-open-inlined-form
|
|
|
|
|
i.fa.fa-plus
|
|
|
|
|
| {{_ 'add-swimlane'}}
|
|
|
|
|
|
|
|
|
|
template(name="addListForm")
|
2018-02-28 11:24:39 -03:00
|
|
|
.list.list-composer.js-list-composer
|
2018-01-19 16:00:02 -03:00
|
|
|
.list-header
|
|
|
|
|
+inlinedForm(autoclose=false)
|
|
|
|
|
input.list-name-input.full-line(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.open-list-composer.js-open-inlined-form
|
|
|
|
|
i.fa.fa-plus
|
|
|
|
|
| {{_ 'add-list'}}
|