|
|
|
@ -19,16 +19,17 @@ template(name="boardHeaderBar") |
|
|
|
|
i.fa(class="{{#if currentBoard.isPublic}}fa-globe{{else}}fa-lock{{/if}}") |
|
|
|
|
span {{_ currentBoard.permission}} |
|
|
|
|
|
|
|
|
|
a.board-header-btn.js-watch-board |
|
|
|
|
if $eq watchLevel "watching" |
|
|
|
|
i.fa.fa-eye |
|
|
|
|
span {{_ 'watching'}} |
|
|
|
|
if $eq watchLevel "tracking" |
|
|
|
|
i.fa.fa-bell |
|
|
|
|
span {{_ 'tracking'}} |
|
|
|
|
if $eq watchLevel "muted" |
|
|
|
|
i.fa.fa-bell-slash |
|
|
|
|
span {{_ 'muted'}} |
|
|
|
|
if currentUser |
|
|
|
|
a.board-header-btn.js-watch-board |
|
|
|
|
if $eq watchLevel "watching" |
|
|
|
|
i.fa.fa-eye |
|
|
|
|
span {{_ 'watching'}} |
|
|
|
|
if $eq watchLevel "tracking" |
|
|
|
|
i.fa.fa-bell |
|
|
|
|
span {{_ 'tracking'}} |
|
|
|
|
if $eq watchLevel "muted" |
|
|
|
|
i.fa.fa-bell-slash |
|
|
|
|
span {{_ 'muted'}} |
|
|
|
|
|
|
|
|
|
.board-header-btns.right |
|
|
|
|
if isMiniScreen |
|
|
|
@ -47,15 +48,16 @@ template(name="boardHeaderBar") |
|
|
|
|
i.fa(class="{{#if currentBoard.isPublic}}fa-globe{{else}}fa-lock{{/if}}") |
|
|
|
|
span {{_ currentBoard.permission}} |
|
|
|
|
|
|
|
|
|
a.board-header-btn.js-watch-board( |
|
|
|
|
title="{{_ watchLevel }}") |
|
|
|
|
if $eq watchLevel "watching" |
|
|
|
|
i.fa.fa-eye |
|
|
|
|
if $eq watchLevel "tracking" |
|
|
|
|
i.fa.fa-bell |
|
|
|
|
if $eq watchLevel "muted" |
|
|
|
|
i.fa.fa-bell-slash |
|
|
|
|
span {{_ watchLevel}} |
|
|
|
|
if currentUser |
|
|
|
|
a.board-header-btn.js-watch-board( |
|
|
|
|
title="{{_ watchLevel }}") |
|
|
|
|
if $eq watchLevel "watching" |
|
|
|
|
i.fa.fa-eye |
|
|
|
|
if $eq watchLevel "tracking" |
|
|
|
|
i.fa.fa-bell |
|
|
|
|
if $eq watchLevel "muted" |
|
|
|
|
i.fa.fa-bell-slash |
|
|
|
|
span {{_ watchLevel}} |
|
|
|
|
|
|
|
|
|
a.board-header-btn.js-open-filter-view( |
|
|
|
|
title="{{#if Filter.isActive}}{{_ 'filter-on-desc'}}{{else}}{{_ 'filter'}}{{/if}}" |
|
|
|
|