summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2016-12-02 16:30:19 -0600
committerClement Ho <ClemMakesApps@gmail.com>2017-01-09 16:01:00 -0600
commit78b9e7c6b500b87dd2ebac45331a012eb0cf6ca4 (patch)
treeee0ebd03dfff4b73d5c3a1c679230420a7c7db50 /app/views
parentce1247727d2a9f24994f602debe95fd2ebff90db (diff)
downloadgitlab-ce-78b9e7c6b500b87dd2ebac45331a012eb0cf6ca4.tar.gz
Add author dropdown
Diffstat (limited to 'app/views')
-rw-r--r--app/views/shared/issuable/_search_bar.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/shared/issuable/_search_bar.html.haml b/app/views/shared/issuable/_search_bar.html.haml
index 04000a18dce..3801b46a332 100644
--- a/app/views/shared/issuable/_search_bar.html.haml
+++ b/app/views/shared/issuable/_search_bar.html.haml
@@ -24,6 +24,15 @@
{{hint}}
%span.js-filter-tag
{{tag}}
+ #js-dropdown-author.dropdown-menu{ 'data-dropdown' => true }
+ %ul{ 'data-dynamic' => true }
+ %li
+ %button.btn.btn-link
+ %img.avatar.avatar-inline{ 'src': '{{avatar_url}}', width: '30' }
+ %strong
+ {{name}}
+ %span
+ {{username}}
#js-dropdown-assignee.dropdown-menu{ 'data-dropdown' => true }
%ul{ 'data-dynamic' => true }
%li