summaryrefslogtreecommitdiffstats
path: root/client/components/boards/boardsList.jade
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/boards/boardsList.jade')
-rw-r--r--client/components/boards/boardsList.jade16
1 files changed, 16 insertions, 0 deletions
diff --git a/client/components/boards/boardsList.jade b/client/components/boards/boardsList.jade
new file mode 100644
index 00000000..4a73ed48
--- /dev/null
+++ b/client/components/boards/boardsList.jade
@@ -0,0 +1,16 @@
+template(name="boardList")
+ .wrapper
+ 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'}}