diff options
author | Liming Xie <liming.xie@gmail.com> | 2016-01-05 23:26:02 +0800 |
---|---|---|
committer | Liming Xie <liming.xie@gmail.com> | 2016-01-05 23:26:02 +0800 |
commit | 9bbdacc79a89667e0d6f1ed30c415e5350ad468b (patch) | |
tree | fc6d9918dcd77699295ecb5bdbaf59f9d7c2f479 /client/components/boards/boardHeader.jade | |
parent | 9ef8ebaf09e52d7133ebe08ab1354ef663ee948b (diff) | |
download | wekan-9bbdacc79a89667e0d6f1ed30c415e5350ad468b.tar.gz wekan-9bbdacc79a89667e0d6f1ed30c415e5350ad468b.tar.bz2 wekan-9bbdacc79a89667e0d6f1ed30c415e5350ad468b.zip |
Add notification, allow watch boards / lists / cards
Diffstat (limited to 'client/components/boards/boardHeader.jade')
-rw-r--r-- | client/components/boards/boardHeader.jade | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/client/components/boards/boardHeader.jade b/client/components/boards/boardHeader.jade index fe6b56e6..ce8999c3 100644 --- a/client/components/boards/boardHeader.jade +++ b/client/components/boards/boardHeader.jade @@ -19,6 +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-user + span {{_ 'tracking'}} + if $eq watchLevel "muted" + i.fa.fa-times-circle + span {{_ 'muted'}} + .board-header-btns.right if isMiniScreen unless isSandstorm @@ -34,6 +45,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-user + span {{_ 'tracking'}} + if $eq watchLevel "muted" + i.fa.fa-times-circle + span {{_ 'muted'}} + a.board-header-btn.js-open-filter-view( title="{{#if Filter.isActive}}{{_ 'filter-on-desc'}}{{/if}}" class="{{#if Filter.isActive}}emphasis{{/if}}") @@ -97,6 +119,33 @@ template(name="boardVisibilityList") template(name="boardChangeVisibilityPopup") +boardVisibilityList +template(name="boardChangeWatchPopup") + ul.pop-over-list + li + with "watching" + a.js-select-watch + i.fa.fa-eye.colorful + | {{_ 'watching'}} + if watchCheck + i.fa.fa-check + span.sub-name {{_ 'watching-info'}} + li + with "tracking" + a.js-select-watch + i.fa.fa-user.colorful + | {{_ 'tracking'}} + if watchCheck + i.fa.fa-check + span.sub-name {{_ 'tracking-info'}} + li + with "muted" + a.js-select-watch + i.fa.fa-times-circle.colorful + | {{_ 'muted'}} + if watchCheck + i.fa.fa-check + span.sub-name {{_ 'muted-info'}} + template(name="boardChangeColorPopup") .board-backgrounds-list.clearfix each backgroundColors |