summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-02-25 11:00:24 +0000
committerRémy Coutable <remy@rymai.me>2019-02-26 12:24:39 +0100
commita555a227dd7a846e5b8e8c84839120d40f9d1090 (patch)
tree7834ad40f3da966653f7f5ed8a5bf0c118f0b1b1 /app/views/shared
parentafd290a444d09e84092e5a5d738bcf28ec71f3c6 (diff)
downloadgitlab-ce-a555a227dd7a846e5b8e8c84839120d40f9d1090.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