summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2016-04-21 20:39:39 +0200
committerAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2016-04-21 20:39:39 +0200
commit5916ff3c1baea49bcc09deaf43fd22a44a66d25c (patch)
tree412c774539d3453f1a6053b52a729529afc3cdf2 /client
parentfad5150ada7981455bedccc479637e2cdc9a4935 (diff)
downloadwekan-5916ff3c1baea49bcc09deaf43fd22a44a66d25c.tar.gz
wekan-5916ff3c1baea49bcc09deaf43fd22a44a66d25c.tar.bz2
wekan-5916ff3c1baea49bcc09deaf43fd22a44a66d25c.zip
UI: Add missing title attributes
The buttons of the normal view should have the same title attribute, than the mini screen buttons. I missed this in 0587158b6be930f53325baa54fccadc54d18c9a3.
Diffstat (limited to 'client')
-rw-r--r--client/components/boards/boardHeader.jade11
1 files changed, 6 insertions, 5 deletions
diff --git a/client/components/boards/boardHeader.jade b/client/components/boards/boardHeader.jade
index 18613a65..e61831a1 100644
--- a/client/components/boards/boardHeader.jade
+++ b/client/components/boards/boardHeader.jade
@@ -16,20 +16,21 @@ template(name="boardHeaderBar")
span
= currentBoard.stars
- a.board-header-btn(class="{{#if currentUser.isBoardAdmin}}js-change-visibility{{else}}is-disabled{{/if}}")
+ a.board-header-btn(
+ class="{{#if currentUser.isBoardAdmin}}js-change-visibility{{else}}is-disabled{{/if}}"
+ title="{{_ currentBoard.permission}}")
i.fa(class="{{#if currentBoard.isPublic}}fa-globe{{else}}fa-lock{{/if}}")
span {{_ currentBoard.permission}}
- a.board-header-btn.js-watch-board
+ a.board-header-btn.js-watch-board(
+ title="{{_ watchLevel }}")
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'}}
+ span {{_ watchLevel}}
else
a.board-header-btn.js-log-in(