mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
UI: Do not display notification settings
The notification settings are only usefull if there is a current user, because the email address is required.
This commit is contained in:
parent
0587158b6b
commit
7513520a9b
1 changed files with 21 additions and 19 deletions
|
@ -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}}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue