summaryrefslogtreecommitdiffstats
path: root/client/components/boards
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2016-04-21 19:26:27 +0200
committerMaxime Quandalle <maxime@quandalle.com>2016-04-21 19:26:27 +0200
commit0587158b6be930f53325baa54fccadc54d18c9a3 (patch)
tree9a2ef099509ca3a619eb02214191faa391dcc9d1 /client/components/boards
parentb24ee67bbba29b2e236d152f80ccfe612cdced8e (diff)
downloadwekan-0587158b6be930f53325baa54fccadc54d18c9a3.tar.gz
wekan-0587158b6be930f53325baa54fccadc54d18c9a3.tar.bz2
wekan-0587158b6be930f53325baa54fccadc54d18c9a3.zip
Some small fixes for the buttons in the board header (#580)
* UI: Fix title of button The multi selection button should not get the filter description. * UI: Add title for all buttons in the header bar This is espectially important for the miniScreen view, because there is only the icon and no text next to the button.
Diffstat (limited to 'client/components/boards')
-rw-r--r--client/components/boards/boardHeader.jade15
1 files changed, 8 insertions, 7 deletions
diff --git a/client/components/boards/boardHeader.jade b/client/components/boards/boardHeader.jade
index 094dad7d..efc4fbe0 100644
--- a/client/components/boards/boardHeader.jade
+++ b/client/components/boards/boardHeader.jade
@@ -41,23 +41,24 @@ 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}}
a.board-header-btn.js-open-filter-view(
- title="{{#if Filter.isActive}}{{_ 'filter-on-desc'}}{{/if}}"
+ title="{{#if Filter.isActive}}{{_ 'filter-on-desc'}}{{else}}{{_ 'filter'}}{{/if}}"
class="{{#if Filter.isActive}}emphasis{{/if}}")
i.fa.fa-filter
span {{#if Filter.isActive}}{{_ 'filter-on'}}{{else}}{{_ 'filter'}}{{/if}}
@@ -67,7 +68,7 @@ template(name="boardHeaderBar")
if currentUser.isBoardMember
a.board-header-btn.js-multiselection-activate(
- title="{{#if MultiSelection.isActive}}{{_ 'filter-on-desc'}}{{/if}}"
+ title="{{#if MultiSelection.isActive}}{{_ 'multi-selection-on'}}{{else}}{{_ 'multi-selection'}}{{/if}}"
class="{{#if MultiSelection.isActive}}emphasis{{/if}}")
i.fa.fa-check-square-o
span {{#if MultiSelection.isActive}}{{_ 'multi-selection-on'}}{{else}}{{_ 'multi-selection'}}{{/if}}