summaryrefslogtreecommitdiffstats
path: root/client/components/boards/boardList.jade
blob: a6895cc898d9c169c57a7f4086c8f3ef8ed5a001 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
template(name="boardList")
  if boards.count
    ul.board-list.clearfix
      each boards
        li(class="{{#if isStarred}}starred{{/if}}" class=colorClass)
          a.js-open-board(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'}}")
  else
    ul.board-list.clearfix
      li.js-add-board
        a.label {{_ 'add-board'}}