diff options
author | Sabba Petri <sabbap@gmail.com> | 2015-02-23 13:38:04 -0800 |
---|---|---|
committer | Sabba Petri <sabbap@gmail.com> | 2015-02-23 13:38:04 -0800 |
commit | e35fe204795bbb19d46f34af49c1ad4f7148e68f (patch) | |
tree | f98847746b6c338ac50aa3b7ff9a4b94649f819e | |
parent | bb2358379e347de9c6f9a0b521d2f8599f636881 (diff) | |
download | gitlab-ce-e35fe204795bbb19d46f34af49c1ad4f7148e68f.tar.gz |
Filter icons look like proper buttons
The filter icons (Push events, Merge events, Comments, Team) now have a border
that signifies they can be pushed. This not only keeps it in line with the rest
of the application buttons, but it makes it more obvious, especially for the
Merge events button with a checkbox icon.
-rw-r--r-- | app/helpers/events_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/events_helper.rb b/app/helpers/events_helper.rb index 063916a8df8..db0d4a26611 100644 --- a/app/helpers/events_helper.rb +++ b/app/helpers/events_helper.rb @@ -30,7 +30,7 @@ module EventsHelper end content_tag :li, class: "filter_icon #{active}" do - link_to request.path, class: 'has_tooltip event_filter_link', id: "#{key}_event_filter", 'data-original-title' => tooltip do + link_to request.path, class: 'btn has_tooltip event_filter_link', id: "#{key}_event_filter", 'data-original-title' => tooltip do icon(icon_for_event[key]) + content_tag(:span, ' ' + tooltip) end end |