summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-02-25 11:00:24 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2019-02-25 11:00:24 +0000
commitd133bf84c668df3dfc9938bb04150754cb873c8b (patch)
treefacaf21c2b334c24718fec0c1c2a46976b4ede72 /app/views/shared
parent7981c0292b07a0138b096fa082341fcb13e9ce2b (diff)
parentbf7846bec07157a8023770d03854834cceb69e3d (diff)
downloadgitlab-ce-d133bf84c668df3dfc9938bb04150754cb873c8b.tar.gz
Merge branch 'filter-confidential-issues' into 'master'
Ability to filter confidential issues Closes #50747 See merge request gitlab-org/gitlab-ce!24960
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/issuable/_search_bar.html.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/shared/issuable/_search_bar.html.haml b/app/views/shared/issuable/_search_bar.html.haml
index 588659c7e9c..bdba47ed14d 100644
--- a/app/views/shared/issuable/_search_bar.html.haml
+++ b/app/views/shared/issuable/_search_bar.html.haml
@@ -128,6 +128,14 @@
%li.filter-dropdown-item{ data: { value: 'no', capitalize: true } }
%button.btn.btn-link{ type: 'button' }
= _('No')
+ #js-dropdown-confidential.filtered-search-input-dropdown-menu.dropdown-menu
+ %ul.filter-dropdown{ data: { dropdown: true } }
+ %li.filter-dropdown-item{ data: { value: 'yes', capitalize: true } }
+ %button.btn.btn-link{ type: 'button' }
+ = _('Yes')
+ %li.filter-dropdown-item{ data: { value: 'no', capitalize: true } }
+ %button.btn.btn-link{ type: 'button' }
+ = _('No')
= render_if_exists 'shared/issuable/filter_weight', type: type