mirror of
https://github.com/wekan/wekan.git
synced 2026-02-14 04:04:21 +01:00
added buttons to support filtering by empty labels and members
This commit is contained in:
parent
5a23c962d2
commit
5968792ad2
2 changed files with 14 additions and 0 deletions
|
|
@ -5,6 +5,12 @@
|
|||
|
||||
template(name="filterSidebar")
|
||||
ul.sidebar-list
|
||||
li(class="{{#if Filter.labelIds.isSelected undefined}}active{{/if}}")
|
||||
a.name.js-toggle-label-filter
|
||||
span.sidebar-list-item-description
|
||||
<span class="username">{{_ 'filter-no-label'}}</span>
|
||||
if Filter.labelIds.isSelected undefined
|
||||
i.fa.fa-check
|
||||
each currentBoard.labels
|
||||
li
|
||||
a.name.js-toggle-label-filter
|
||||
|
|
@ -18,6 +24,12 @@ template(name="filterSidebar")
|
|||
i.fa.fa-check
|
||||
hr
|
||||
ul.sidebar-list
|
||||
li(class="{{#if Filter.members.isSelected undefined}}active{{/if}}")
|
||||
a.name.js-toggle-member-filter
|
||||
span.sidebar-list-item-description
|
||||
<span class="username">{{_ 'filter-no-member'}}</span>
|
||||
if Filter.members.isSelected undefined
|
||||
i.fa.fa-check
|
||||
each currentBoard.activeMembers
|
||||
with getUser userId
|
||||
li(class="{{#if Filter.members.isSelected _id}}active{{/if}}")
|
||||
|
|
|
|||
|
|
@ -173,6 +173,8 @@
|
|||
"filter": "Filter",
|
||||
"filter-cards": "Filter Cards",
|
||||
"filter-clear": "Clear filter",
|
||||
"filter-no-label": "No label",
|
||||
"filter-no-member": "No member",
|
||||
"filter-on": "Filter is on",
|
||||
"filter-on-desc": "You are filtering cards on this board. Click here to edit filter.",
|
||||
"filter-to-selection": "Filter to selection",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue