|
@@ -1,14 +1,17 @@
|
|
template(name="boardHeaderBar")
|
|
template(name="boardHeaderBar")
|
|
h1.header-board-menu
|
|
h1.header-board-menu
|
|
with currentBoard
|
|
with currentBoard
|
|
- a(class="{{#if currentUser.isBoardAdmin}}js-edit-board-title{{else}}is-disabled{{/if}}")
|
|
|
|
- +viewer
|
|
|
|
- = title
|
|
|
|
|
|
+ +viewer
|
|
|
|
+ = title
|
|
|
|
|
|
.board-header-btns.left
|
|
.board-header-btns.left
|
|
unless isMiniScreen
|
|
unless isMiniScreen
|
|
if currentBoard
|
|
if currentBoard
|
|
if currentUser
|
|
if currentUser
|
|
|
|
+ with currentBoard
|
|
|
|
+ a.board-header-btn(class="{{#if currentUser.isBoardAdmin}}js-edit-board-title{{else}}is-disabled{{/if}}" title="{{_ 'edit'}}" value=title)
|
|
|
|
+ i.fa.fa-pencil-square-o
|
|
|
|
+
|
|
a.board-header-btn.js-star-board(class="{{#if isStarred}}is-active{{/if}}"
|
|
a.board-header-btn.js-star-board(class="{{#if isStarred}}is-active{{/if}}"
|
|
title="{{#if isStarred}}{{_ 'click-to-unstar'}}{{else}}{{_ 'click-to-star'}}{{/if}} {{_ 'starred-boards-description'}}")
|
|
title="{{#if isStarred}}{{_ 'click-to-unstar'}}{{else}}{{_ 'click-to-star'}}{{/if}} {{_ 'starred-boards-description'}}")
|
|
i.fa(class="fa-star{{#unless isStarred}}-o{{/unless}}")
|
|
i.fa(class="fa-star{{#unless isStarred}}-o{{/unless}}")
|
|
@@ -45,6 +48,10 @@ template(name="boardHeaderBar")
|
|
if currentBoard
|
|
if currentBoard
|
|
if isMiniScreen
|
|
if isMiniScreen
|
|
if currentUser
|
|
if currentUser
|
|
|
|
+ with currentBoard
|
|
|
|
+ a.board-header-btn(class="{{#if currentUser.isBoardAdmin}}js-edit-board-title{{else}}is-disabled{{/if}}" title="{{_ 'edit'}}" value=title)
|
|
|
|
+ i.fa.fa-pencil-square-o
|
|
|
|
+
|
|
a.board-header-btn.js-star-board(class="{{#if isStarred}}is-active{{/if}}"
|
|
a.board-header-btn.js-star-board(class="{{#if isStarred}}is-active{{/if}}"
|
|
title="{{#if isStarred}}{{_ 'click-to-unstar'}}{{else}}{{_ 'click-to-star'}}{{/if}} {{_ 'starred-boards-description'}}")
|
|
title="{{#if isStarred}}{{_ 'click-to-unstar'}}{{else}}{{_ 'click-to-star'}}{{/if}} {{_ 'starred-boards-description'}}")
|
|
i.fa(class="fa-star{{#unless isStarred}}-o{{/unless}}")
|
|
i.fa(class="fa-star{{#unless isStarred}}-o{{/unless}}")
|