mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
39 lines
1.6 KiB
Text
39 lines
1.6 KiB
Text
template(name="boardList")
|
|
.wrapper
|
|
ul.board-list.clearfix
|
|
each boards
|
|
li(class="{{#if isStarred}}starred{{/if}}" class=colorClass)
|
|
if isInvited
|
|
.board-list-item
|
|
span.details
|
|
span.board-list-item-name= title
|
|
i.fa.js-star-board(
|
|
class="fa-star{{#if isStarred}} is-star-active{{else}}-o{{/if}}"
|
|
title="{{_ 'star-board-title'}}")
|
|
p.board-list-item-desc {{_ 'just-invited'}}
|
|
button.js-accept-invite.primary {{_ 'accept'}}
|
|
button.js-decline-invite {{_ 'decline'}}
|
|
else
|
|
a.js-open-board.board-list-item(href="{{pathFor 'board' id=_id slug=slug}}")
|
|
span.details
|
|
span.board-list-item-name= title
|
|
i.fa.js-star-board(
|
|
class="fa-star{{#if isStarred}} is-star-active{{else}}-o{{/if}}"
|
|
title="{{_ 'star-board-title'}}")
|
|
|
|
if hasSpentTimeCards
|
|
i.fa.js-has-spenttime-cards(
|
|
class="fa-circle{{#if hasOvertimeCards}} has-overtime-card-active{{else}} no-overtime-card-active{{/if}}"
|
|
title="{{#if hasOvertimeCards}}{{_ 'has-overtime-cards'}}{{else}}{{_ 'has-spenttime-cards'}}{{/if}}")
|
|
|
|
p.board-list-item-desc= description
|
|
li.js-add-board
|
|
a.board-list-item.label {{_ 'add-board'}}
|
|
|
|
|
|
template(name="boardListHeaderBar")
|
|
h1 {{_ 'my-boards'}}
|
|
.board-header-btns.right
|
|
a.board-header-btn.js-open-archived-board
|
|
i.fa.fa-archive
|
|
span {{_ 'archives'}}
|