summaryrefslogtreecommitdiff
path: root/app/views/shared/issuable/_search_bar.html.haml
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2016-12-05 13:00:54 -0600
committerClement Ho <ClemMakesApps@gmail.com>2017-01-09 16:01:02 -0600
commiteb55cf5007f478a1fdffe029110c27c869f74356 (patch)
treecae26e58480595a1d50a6ff1c00bbdfce540a1a8 /app/views/shared/issuable/_search_bar.html.haml
parent7cf322f1d667b6e0d1c74e58a89aa3dbd437a850 (diff)
downloadgitlab-ce-eb55cf5007f478a1fdffe029110c27c869f74356.tar.gz
Add static dropdown list items
Diffstat (limited to 'app/views/shared/issuable/_search_bar.html.haml')
-rw-r--r--app/views/shared/issuable/_search_bar.html.haml26
1 files changed, 21 insertions, 5 deletions
diff --git a/app/views/shared/issuable/_search_bar.html.haml b/app/views/shared/issuable/_search_bar.html.haml
index b83ea6c60d9..a47140ed0aa 100644
--- a/app/views/shared/issuable/_search_bar.html.haml
+++ b/app/views/shared/issuable/_search_bar.html.haml
@@ -35,20 +35,36 @@
%span.dropdown-light-content
@{{username}}
#js-dropdown-assignee.dropdown-menu{ 'data-dropdown' => true }
- %ul{ 'data-dynamic' => true }
+ %ul
%li.filter-dropdown
%button.btn.btn-link
+ No assignee
+ %li.divider
+ %ul{ 'data-dynamic' => true }
+ %li.filter-dropdown
+ %button.btn.btn-link.dropdown-user
%img.avatar.avatar-inline{ 'data-src': '{{avatar_url}}', width: '30' }
- %strong
- {{name}}
- %span
- {{username}}
+ .dropdown-user-details
+ %span
+ {{name}}
+ %span.dropdown-light-content
+ @{{username}}
#js-dropdown-milestone.dropdown-menu{ 'data-dropdown' => true }
+ %ul
+ %li.filter-dropdown
+ %button.btn.btn-link
+ No milestone
+ %li.divider
%ul{ 'data-dynamic' => true }
%li.filter-dropdown
%button.btn.btn-link
{{title}}
#js-dropdown-label.dropdown-menu{ 'data-dropdown' => true }
+ %ul
+ %li.filter-dropdown
+ %button.btn.btn-link
+ No label
+ %li.divider
%ul{ 'data-dynamic' => true }
%li.filter-dropdown
%button.btn.btn-link