summaryrefslogtreecommitdiff
path: root/app/views/shared/_sort_dropdown.html.haml
diff options
context:
space:
mode:
authorDavid Wagner <david@marvid.fr>2016-11-18 21:19:44 +0100
committerDavid Wagner <david@marvid.fr>2016-11-28 23:18:03 +0100
commitb3ed4e0cf9dc66b49fba933455212d9c89b80d90 (patch)
treee4949f433f4aa2616f6806078da256bca1bb5069 /app/views/shared/_sort_dropdown.html.haml
parent4fddd9b7a18098229294740db33b01d85bef21e6 (diff)
downloadgitlab-ce-b3ed4e0cf9dc66b49fba933455212d9c89b80d90.tar.gz
Homogenize dropdowns on Issue page
Make sort and filter dropdowns look the same and tweak their icon and colors according to #24150. Signed-off-by: David Wagner <david@marvid.fr>
Diffstat (limited to 'app/views/shared/_sort_dropdown.html.haml')
-rw-r--r--app/views/shared/_sort_dropdown.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/_sort_dropdown.html.haml b/app/views/shared/_sort_dropdown.html.haml
index 68e05cb72e1..ede3c7090d7 100644
--- a/app/views/shared/_sort_dropdown.html.haml
+++ b/app/views/shared/_sort_dropdown.html.haml
@@ -1,11 +1,11 @@
.dropdown.inline.prepend-left-10
- %button.dropdown-toggle.btn{type: 'button', 'data-toggle' => 'dropdown'}
+ %button.dropdown-toggle{type: 'button', data: {toggle: 'dropdown'}}
%span.light
- if @sort.present?
= sort_options_hash[@sort]
- else
= sort_title_recently_created
- = icon('caret-down')
+ = icon('chevron-down')
%ul.dropdown-menu.dropdown-menu-align-right.dropdown-menu-sort
%li
= link_to page_filter_path(sort: sort_value_priority, label: true) do