summaryrefslogtreecommitdiffstats
path: root/client/components/boards/boardList.jade
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/boards/boardList.jade')
-rw-r--r--client/components/boards/boardList.jade21
1 files changed, 21 insertions, 0 deletions
diff --git a/client/components/boards/boardList.jade b/client/components/boards/boardList.jade
new file mode 100644
index 00000000..e133f73c
--- /dev/null
+++ b/client/components/boards/boardList.jade
@@ -0,0 +1,21 @@
+//-
+ XXX This template can't be transformed into a component because it is
+ included by iron-router. That's a bug.
+ See https://github.com/peerlibrary/meteor-blaze-components/issues/44
+template(name="boards")
+ +boardList
+
+template(name="boardList")
+ if boards
+ ul.board-list.clearfix
+ each boards
+ li(class="{{#if isStarred}}starred{{/if}}" class=colorClass)
+ a.js-open-board(href="{{ pathFor route='Board' boardId=_id }}")
+ span.details
+ span.board-list-item-name= title
+ i.fa.fa-star-o.js-star-board(
+ class="{{#if isStarred}}is-star-active{{/if}}"
+ title="{{_ 'star-board-title'}}")
+ else
+ p.quiet {{_ 'no-boards'}}
+ button.js-add-board {{_ 'add-board'}}