summaryrefslogtreecommitdiffstats
path: root/client/components/sidebar
diff options
context:
space:
mode:
authorMario Orlicky <orlickymario@gmail.com>2016-11-13 20:48:24 +0100
committerMario Orlicky <orlickymario@gmail.com>2016-11-13 20:48:24 +0100
commit5968792ad2d94291721fd0f95df6d66541150442 (patch)
treeb149fd5647b915a413291297faa1b083473c7188 /client/components/sidebar
parent5a23c962d2d2c8a4ef3f30a3b0965039808924e8 (diff)
downloadwekan-5968792ad2d94291721fd0f95df6d66541150442.tar.gz
wekan-5968792ad2d94291721fd0f95df6d66541150442.tar.bz2
wekan-5968792ad2d94291721fd0f95df6d66541150442.zip
added buttons to support filtering by empty labels and members
Diffstat (limited to 'client/components/sidebar')
-rw-r--r--client/components/sidebar/sidebarFilters.jade12
1 files changed, 12 insertions, 0 deletions
diff --git a/client/components/sidebar/sidebarFilters.jade b/client/components/sidebar/sidebarFilters.jade
index 2b326493..0a7fbfb0 100644
--- a/client/components/sidebar/sidebarFilters.jade
+++ b/client/components/sidebar/sidebarFilters.jade
@@ -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}}")