2018-01-19 12:22:03 -03:00
|
|
|
template(name="swimlane")
|
2019-01-28 12:00:55 +01:00
|
|
|
.swimlane
|
2018-02-01 13:10:30 -03:00
|
|
|
+swimlaneHeader
|
New feature: Now there is popup selection of Lists/Swimlanes/Calendar/Roles.
New feature, not set visible yet, because switching to it does not
work properly yet: Collapsible Swimlanes #2804
Fix: Public board now loads correctly. When you select one of Lists/Swimlanes/Calendar view and
reload webbrowser page, it can change view. Closes #2311
Fix: List sorting commented out. Closes #2800
Fix: Errors hasHiddenMinicardText, hasShowDragHandles, showSort, hasSortBy, profile,
FirefoxAndroid/IE11/Vivaldi/Chromium browsers not working by using
cookies instead of database.
More details at https://github.com/wekan/wekan/issues/2643#issuecomment-554907955
Note: Cookie changes are not always immediate, if there is no effect,
you may need to reload webbrowser page.
Closes #2643 .
Thanks to xet7 !
2019-11-18 22:23:49 +02:00
|
|
|
unless collapseSwimlane
|
2020-05-25 21:01:51 +02:00
|
|
|
.swimlane.js-lists.js-swimlane(id="swimlane-{{_id}}")
|
2019-11-17 01:20:26 +02:00
|
|
|
if isMiniScreen
|
|
|
|
|
if currentListIsInThisSwimlane _id
|
|
|
|
|
+list(currentList)
|
|
|
|
|
unless currentList
|
|
|
|
|
each lists
|
|
|
|
|
+miniList(this)
|
|
|
|
|
if currentUser.isBoardMember
|
|
|
|
|
unless currentUser.isCommentOnly
|
|
|
|
|
+addListForm
|
|
|
|
|
else
|
2019-02-24 11:54:52 +01:00
|
|
|
each lists
|
2019-11-17 01:20:26 +02:00
|
|
|
+list(this)
|
|
|
|
|
if currentCardIsInThisList _id ../_id
|
|
|
|
|
+cardDetails(currentCard)
|
2018-01-19 12:22:03 -03:00
|
|
|
if currentUser.isBoardMember
|
2019-07-24 15:01:05 +03:00
|
|
|
unless currentUser.isCommentOnly
|
|
|
|
|
+addListForm
|
2018-01-19 16:00:02 -03:00
|
|
|
|
2018-01-22 23:35:23 -03:00
|
|
|
template(name="listsGroup")
|
2018-03-16 22:37:08 -03:00
|
|
|
.swimlane.list-group.js-lists
|
2018-01-22 23:35:23 -03:00
|
|
|
if isMiniScreen
|
|
|
|
|
if currentList
|
|
|
|
|
+list(currentList)
|
|
|
|
|
else
|
2019-10-30 20:45:30 +02:00
|
|
|
each lists
|
|
|
|
|
+miniList(this)
|
2018-01-22 23:35:23 -03:00
|
|
|
if currentUser.isBoardMember
|
2019-07-24 15:01:05 +03:00
|
|
|
unless currentUser.isCommentOnly
|
|
|
|
|
+addListForm
|
2018-01-22 23:35:23 -03:00
|
|
|
else
|
2019-02-24 11:54:52 +01:00
|
|
|
each lists
|
2019-08-07 07:58:05 +00:00
|
|
|
if visible this
|
|
|
|
|
+list(this)
|
2018-01-31 15:46:59 -03:00
|
|
|
if currentCardIsInThisList _id null
|
2018-01-22 23:35:23 -03:00
|
|
|
+cardDetails(currentCard)
|
2019-10-30 20:45:30 +02:00
|
|
|
if currentUser.isBoardMember
|
|
|
|
|
unless currentUser.isCommentOnly
|
|
|
|
|
+addListForm
|
2018-01-22 23:35:23 -03:00
|
|
|
|
2018-01-19 16:00:02 -03:00
|
|
|
template(name="addListForm")
|
2020-01-05 21:28:14 +02:00
|
|
|
unless currentUser.isWorker
|
|
|
|
|
.list.list-composer.js-list-composer(class="{{#if isMiniScreen}}mini-list{{/if}}")
|
2020-12-15 11:52:57 +02:00
|
|
|
if currentUser.isBoardAdmin
|
|
|
|
|
.list-header-add
|
|
|
|
|
+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'}}
|
|
|
|
|
unless currentBoard.isTemplatesBoard
|
|
|
|
|
unless currentBoard.isTemplateBoard
|
|
|
|
|
span.quiet
|
|
|
|
|
| {{_ 'or'}}
|
|
|
|
|
a.js-list-template {{_ 'template'}}
|
|
|
|
|
else
|
|
|
|
|
a.open-list-composer.js-open-inlined-form
|
|
|
|
|
i.fa.fa-plus
|
|
|
|
|
| {{_ 'add-list'}}
|