diff options
author | Thuan Pham Quoc <thuanpq.io@gmail.com> | 2017-11-20 23:24:27 +0700 |
---|---|---|
committer | Thuan Pham Quoc <thuanpq.io@gmail.com> | 2017-11-20 23:24:27 +0700 |
commit | 6dba4ccd4d0c8d7443e7d9c39ddafed2b8f1b6ca (patch) | |
tree | 670e4808cd4fe1563a01f5f6821ae2f6e8e97a20 /client/components/boards/boardsList.jade | |
parent | d38071457ce1ae722d025216fb2bf6ba958697ac (diff) | |
download | wekan-6dba4ccd4d0c8d7443e7d9c39ddafed2b8f1b6ca.tar.gz wekan-6dba4ccd4d0c8d7443e7d9c39ddafed2b8f1b6ca.tar.bz2 wekan-6dba4ccd4d0c8d7443e7d9c39ddafed2b8f1b6ca.zip |
Added red-green circle to board lists item for indicating board which has overtime logs or normal spent time log
Diffstat (limited to 'client/components/boards/boardsList.jade')
-rw-r--r-- | client/components/boards/boardsList.jade | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/components/boards/boardsList.jade b/client/components/boards/boardsList.jade index ae82dfa9..95ce3678 100644 --- a/client/components/boards/boardsList.jade +++ b/client/components/boards/boardsList.jade @@ -20,6 +20,12 @@ template(name="boardList") i.fa.js-star-board( class="fa-star{{#if isStarred}} is-star-active{{else}}-o{{/if}}" title="{{_ 'star-board-title'}}") + + if hasSpentTimeCards + i.fa.js-has-spenttime-cards( + class="fa-circle{{#if hasOvertimeCards}} has-overtime-card-active{{else}} no-overtime-card-active{{/if}}" + title="{{#if hasOvertimeCards}}{{_ 'has-overtime-cards'}}{{else}}{{_ 'has-spenttime-cards'}}{{/if}}") + p.board-list-item-desc= description li.js-add-board a.board-list-item.label {{_ 'add-board'}} |