2015-05-27 17:17:00 +02:00
|
|
|
template(name="boardList")
|
2015-08-23 11:09:48 +02:00
|
|
|
.wrapper
|
2015-09-01 14:38:07 +02:00
|
|
|
ul.board-list.clearfix
|
|
|
|
|
each boards
|
|
|
|
|
li(class="{{#if isStarred}}starred{{/if}}" class=colorClass)
|
2015-12-07 11:15:57 +08:00
|
|
|
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'}}")
|
2015-09-01 14:38:07 +02:00
|
|
|
li.js-add-board
|
2015-12-07 11:15:57 +08:00
|
|
|
a.board-list-item.label {{_ 'add-board'}}
|