diff options
author | Sabba Petri <sabbap@gmail.com> | 2015-02-23 22:39:08 +0300 |
---|---|---|
committer | Sabba Petri <sabbap@gmail.com> | 2015-02-23 22:39:08 +0300 |
commit | 5d2dda9744eb902e397410f8f4b94af3a0acb1df (patch) | |
tree | 58c6ff8469dd783d131f93599dd6d06447b93bb7 /app/helpers/events_helper.rb | |
parent | bb2358379e347de9c6f9a0b521d2f8599f636881 (diff) |
Added information to tooltips
Tooltips now have meaning by mentioning their function ("Filter by..."). Fixes #1992
Diffstat (limited to 'app/helpers/events_helper.rb')
-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..d38b546e1b2 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: 'has_tooltip event_filter_link', id: "#{key}_event_filter", 'data-original-title' => 'Filter by ' + tooltip.downcase do icon(icon_for_event[key]) + content_tag(:span, ' ' + tooltip) end end |