mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Allow normal user to export board. Thanks to Samunosuke, pgh2357 and xet7 ! Related #3377
23 lines
676 B
Text
23 lines
676 B
Text
template(name="archivedBoards")
|
|
h2
|
|
i.fa.fa-archive
|
|
| {{_ 'archived-boards'}}
|
|
|
|
ul.archived-lists
|
|
each archivedBoards
|
|
li.archived-lists-item
|
|
div.board-header-btns
|
|
if currentUser.isBoardAdmin
|
|
button.board-header-btn.js-delete-board
|
|
i.fa.fa-trash-o
|
|
| {{_ 'delete-board'}}
|
|
button.board-header-btn.js-restore-board
|
|
i.fa.fa-undo
|
|
| {{_ 'restore-board'}}
|
|
= title
|
|
else
|
|
li.no-items-message {{_ 'no-archived-boards'}}
|
|
|
|
template(name="boardDeletePopup")
|
|
p {{_ 'delete-board-confirm-popup'}}
|
|
button.js-confirm.negate.full(type="submit") {{_ 'delete'}}
|