wekan/client/components/main/brokenCards.jade

42 lines
1.2 KiB
Text
Raw Normal View History

2021-01-10 00:17:59 +02:00
template(name="brokenCardsHeaderBar")
h1
2021-01-10 19:31:38 +02:00
| {{_ 'broken-cards'}}
2021-01-10 00:17:59 +02:00
template(name="brokenCards")
.wrapper
.broken-cards-wrapper
2021-01-10 00:17:59 +02:00
each card in brokenCardsList
.broken-cards-card-wrapper
.broken-cards-card-title
= card.title
2021-01-10 00:17:59 +02:00
ul.broken-cards-context-list
li.broken-cards-context(title="{{_ 'board'}}")
if card.boardId
+viewer
= card.getBoard.title
else
.broken-cards-null
| NULL
li.broken-cards-context.broken-cards-context-separator
= ' '
| {{_ 'context-separator'}}
= ' '
li.broken-cards-context(title="{{_ 'swimlane'}}")
if card.swimlaneId
+viewer
= card.getSwimlane.title
else
.broken-cards-null
| NULL
li.broken-cards-context
= ' '
| {{_ 'context-separator'}}
= ' '
li.broken-cards-context(title="{{_ 'list'}}")
if card.listId
+viewer
= card.getList.title
else
.broken-cards-null
| NULL