2018-01-19 12:22:03 -03:00
|
|
|
|
template(name="swimlane")
|
2022-05-04 22:42:16 +02:00
|
|
|
|
.swimlane.nodragscroll
|
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
|
2024-11-21 00:10:49 +02:00
|
|
|
|
.swimlane.js-lists.js-swimlane.dragscroll(id="swimlane-{{_id}}"
|
2023-08-03 19:17:36 -05:00
|
|
|
|
style="height:{{swimlaneHeight}};")
|
2025-10-17 05:58:53 +03:00
|
|
|
|
.swimlane-resize-handle.js-swimlane-resize-handle.nodragscroll
|
2019-11-17 01:20:26 +02:00
|
|
|
|
if isMiniScreen
|
|
|
|
|
|
if currentListIsInThisSwimlane _id
|
|
|
|
|
|
+list(currentList)
|
|
|
|
|
|
unless currentList
|
|
|
|
|
|
if currentUser.isBoardMember
|
|
|
|
|
|
unless currentUser.isCommentOnly
|
|
|
|
|
|
+addListForm
|
2023-06-01 08:49:20 -04:00
|
|
|
|
each lists
|
|
|
|
|
|
+miniList(this)
|
2019-11-17 01:20:26 +02:00
|
|
|
|
else
|
2023-06-01 08:49:20 -04:00
|
|
|
|
if currentUser.isBoardMember
|
|
|
|
|
|
unless currentUser.isCommentOnly
|
|
|
|
|
|
+addListForm
|
2019-02-24 11:54:52 +01:00
|
|
|
|
each lists
|
2021-10-30 00:58:57 +02:00
|
|
|
|
if visible this
|
|
|
|
|
|
+list(this)
|
2019-11-17 01:20:26 +02:00
|
|
|
|
if currentCardIsInThisList _id ../_id
|
|
|
|
|
|
+cardDetails(currentCard)
|
2018-01-19 16:00:02 -03:00
|
|
|
|
|
2018-01-22 23:35:23 -03:00
|
|
|
|
template(name="listsGroup")
|
2024-12-11 22:19:52 +02:00
|
|
|
|
.swimlane.list-group.js-lists.dragscroll
|
2018-01-22 23:35:23 -03:00
|
|
|
|
if isMiniScreen
|
|
|
|
|
|
if currentList
|
|
|
|
|
|
+list(currentList)
|
|
|
|
|
|
else
|
|
|
|
|
|
if currentUser.isBoardMember
|
2019-07-24 15:01:05 +03:00
|
|
|
|
unless currentUser.isCommentOnly
|
|
|
|
|
|
+addListForm
|
2023-08-01 16:42:58 +03:00
|
|
|
|
each lists
|
|
|
|
|
|
+miniList(this)
|
2018-01-22 23:35:23 -03:00
|
|
|
|
else
|
2023-08-01 16:42:58 +03:00
|
|
|
|
if currentUser.isBoardMember
|
|
|
|
|
|
unless currentUser.isCommentOnly
|
|
|
|
|
|
+addListForm
|
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)
|
|
|
|
|
|
|
2018-01-19 16:00:02 -03:00
|
|
|
|
template(name="addListForm")
|
2020-01-05 21:28:14 +02:00
|
|
|
|
unless currentUser.isWorker
|
2024-06-06 02:03:29 +03:00
|
|
|
|
unless currentUser.isCommentOnly
|
|
|
|
|
|
.list.list-composer.js-list-composer(class="{{#if isMiniScreen}}mini-list{{/if}}")
|
2020-12-15 11:52:57 +02:00
|
|
|
|
.list-header-add
|
|
|
|
|
|
+inlinedForm(autoclose=false)
|
|
|
|
|
|
input.list-name-input.full-line(type="text" placeholder="{{_ 'add-list'}}"
|
|
|
|
|
|
autocomplete="off" autofocus)
|
2023-06-01 08:50:04 -03:00
|
|
|
|
if currentBoard.getLastList
|
|
|
|
|
|
| {{_ 'add-after-list'}}
|
|
|
|
|
|
select.list-position-input.full-line
|
|
|
|
|
|
each currentBoard.lists
|
|
|
|
|
|
option(value="{{_id}}" selected=currentBoard.getLastList.title) {{title}}
|
2020-12-15 11:52:57 +02:00
|
|
|
|
.edit-controls.clearfix
|
|
|
|
|
|
button.primary.confirm(type="submit") {{_ 'save'}}
|
2025-10-17 07:08:01 +03:00
|
|
|
|
.js-close-inlined-form
|
|
|
|
|
|
| ❌
|
2020-12-15 11:52:57 +02:00
|
|
|
|
unless currentBoard.isTemplatesBoard
|
|
|
|
|
|
unless currentBoard.isTemplateBoard
|
|
|
|
|
|
span.quiet
|
|
|
|
|
|
| {{_ 'or'}}
|
|
|
|
|
|
a.js-list-template {{_ 'template'}}
|
|
|
|
|
|
else
|
2021-06-09 20:08:42 +03:00
|
|
|
|
a.open-list-composer.js-open-inlined-form(title="{{_ 'add-list'}}")
|
2025-10-17 05:58:53 +03:00
|
|
|
|
| ➕
|
2021-03-27 00:56:44 +02:00
|
|
|
|
|
|
|
|
|
|
template(name="moveSwimlanePopup")
|
|
|
|
|
|
unless currentUser.isWorker
|
|
|
|
|
|
label {{_ 'boards'}}:
|
|
|
|
|
|
select.js-select-boards(autofocus)
|
|
|
|
|
|
each toBoard in toBoards
|
|
|
|
|
|
option(value="{{toBoard._id}}") {{toBoard.title}}
|
|
|
|
|
|
|
|
|
|
|
|
.edit-controls.clearfix
|
|
|
|
|
|
button.primary.confirm.js-done {{_ 'done'}}
|
2021-04-22 14:05:20 +02:00
|
|
|
|
|
|
|
|
|
|
template(name="copySwimlanePopup")
|
|
|
|
|
|
unless currentUser.isWorker
|
|
|
|
|
|
label {{_ 'boards'}}:
|
|
|
|
|
|
select.js-select-boards(autofocus)
|
|
|
|
|
|
each toBoard in toBoards
|
|
|
|
|
|
option(value="{{toBoard._id}}" selected="{{#if $eq toBoard.title board.title}}1{{/if}}") {{toBoard.title}}
|
|
|
|
|
|
|
|
|
|
|
|
.edit-controls.clearfix
|
|
|
|
|
|
button.primary.confirm.js-done {{_ 'done'}}
|