mirror of https://github.com/wekan/wekan
The Open Source kanban (built with Meteor). Keep variable/table/field names camelCase. For translations, only add Pull Request changes to wekan/i18n/en.i18n.json , other translations are done at https://transifex.com/wekan/wekan only.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.3 KiB
44 lines
1.3 KiB
template(name="resultCard")
|
|
.result-card-wrapper
|
|
a.minicard-wrapper.js-minicard.card-title(href=originRelativeUrl)
|
|
+minicard(this)
|
|
//= card.title
|
|
ul.result-card-context-list
|
|
li.result-card-context(title="{{_ 'board'}}")
|
|
.result-card-block-wrapper
|
|
if boardId
|
|
+viewer
|
|
= getBoard.title
|
|
else
|
|
.broken-cards-null
|
|
| NULL
|
|
if getBoard.archived
|
|
i.fa.fa-archive
|
|
li.result-card-context.result-card-context-separator
|
|
= ' '
|
|
| {{_ 'context-separator'}}
|
|
= ' '
|
|
li.result-card-context(title="{{_ 'swimlane'}}")
|
|
.result-card-block-wrapper
|
|
if swimlaneId
|
|
+viewer
|
|
= getSwimlane.title
|
|
else
|
|
.broken-cards-null
|
|
| NULL
|
|
if getSwimlane.archived
|
|
i.fa.fa-archive
|
|
li.result-card-context.result-card-context-separator
|
|
= ' '
|
|
| {{_ 'context-separator'}}
|
|
= ' '
|
|
li.result-card-context(title="{{_ 'list'}}")
|
|
.result-card-block-wrapper
|
|
if listId
|
|
+viewer
|
|
= getList.title
|
|
else
|
|
.broken-cards-null
|
|
| NULL
|
|
if getList.archived
|
|
i.fa.fa-archive
|
|
|