2021-01-07 22:36:10 +02:00
|
|
|
template(name="dueCardsHeaderBar")
|
|
|
|
|
h1
|
2021-01-10 18:08:03 +02:00
|
|
|
i.fa.fa-calendar
|
2021-01-09 18:36:27 +02:00
|
|
|
| {{_ 'dueCards-title'}}
|
2021-01-07 22:36:10 +02:00
|
|
|
|
|
|
|
|
.board-header-btns.left
|
2021-01-09 18:36:27 +02:00
|
|
|
a.board-header-btn.js-due-cards-view-change(title="{{_ 'dueCardsViewChange-title'}}")
|
|
|
|
|
i.fa.fa-caret-down
|
|
|
|
|
if $eq dueCardsView 'me'
|
|
|
|
|
i.fa.fa-user
|
|
|
|
|
| {{_ 'dueCardsViewChange-choice-me'}}
|
2021-01-07 22:36:10 +02:00
|
|
|
if $eq dueCardsView 'all'
|
2021-01-09 18:36:27 +02:00
|
|
|
i.fa.fa-users
|
|
|
|
|
| {{_ 'dueCardsViewChange-choice-all'}}
|
2021-01-07 22:36:10 +02:00
|
|
|
|
|
|
|
|
template(name="dueCardsModalTitle")
|
|
|
|
|
h2
|
|
|
|
|
i.fa.fa-keyboard-o
|
2021-01-09 18:36:27 +02:00
|
|
|
| {{_ 'dueCards-title'}}
|
2021-01-07 22:36:10 +02:00
|
|
|
|
|
|
|
|
template(name="dueCards")
|
2021-01-10 18:08:03 +02:00
|
|
|
if isPageReady.get
|
|
|
|
|
.wrapper
|
|
|
|
|
.due-cards-dueat-list-wrapper
|
|
|
|
|
each card in dueCardsList
|
|
|
|
|
.due-cards-card-wrapper
|
|
|
|
|
a.minicard-wrapper.card-title(href=card.absoluteUrl)
|
|
|
|
|
+minicard(card)
|
|
|
|
|
ul.due-cards-context-list
|
|
|
|
|
li.due-cards-context(title="{{_ 'board'}}")
|
|
|
|
|
+viewer
|
|
|
|
|
= card.getBoard.title
|
|
|
|
|
li.due-cards-context.due-cards-context-separator
|
|
|
|
|
= ' '
|
|
|
|
|
| {{_ 'context-separator'}}
|
|
|
|
|
= ' '
|
|
|
|
|
li.due-cards-context(title="{{_ 'swimlane'}}")
|
|
|
|
|
+viewer
|
|
|
|
|
= card.getSwimlane.title
|
|
|
|
|
li.due-cards-context
|
|
|
|
|
= ' '
|
|
|
|
|
| {{_ 'context-separator'}}
|
|
|
|
|
= ' '
|
|
|
|
|
li.due-cards-context(title="{{_ 'list'}}")
|
|
|
|
|
+viewer
|
|
|
|
|
= card.getList.title
|
|
|
|
|
else
|
|
|
|
|
+spinner
|
2021-01-07 22:36:10 +02:00
|
|
|
|
|
|
|
|
template(name="dueCardsViewChangePopup")
|
|
|
|
|
ul.pop-over-list
|
|
|
|
|
li
|
2021-01-09 18:36:27 +02:00
|
|
|
with "dueCardsViewChange-choice-me"
|
|
|
|
|
a.js-due-cards-view-me
|
|
|
|
|
i.fa.fa-user.colorful
|
|
|
|
|
| {{_ 'dueCardsViewChange-choice-me'}}
|
|
|
|
|
if $eq Utils.dueCardsView "me"
|
2021-01-07 22:36:10 +02:00
|
|
|
i.fa.fa-check
|
2021-01-10 23:18:03 +02:00
|
|
|
hr
|
2021-01-07 22:36:10 +02:00
|
|
|
li
|
2021-01-09 18:36:27 +02:00
|
|
|
with "dueCardsViewChange-choice-all"
|
|
|
|
|
a.js-due-cards-view-all
|
|
|
|
|
i.fa.fa-users.colorful
|
|
|
|
|
| {{_ 'dueCardsViewChange-choice-all'}}
|
2021-01-10 18:08:03 +02:00
|
|
|
span.sub-name
|
|
|
|
|
+viewer
|
|
|
|
|
| {{_ 'dueCardsViewChange-choice-all-description' }}
|
2021-01-07 22:36:10 +02:00
|
|
|
if $eq Utils.dueCardsView "all"
|
|
|
|
|
i.fa.fa-check
|