app/helpers/decidim/admin/icon_link_helper.rb in decidim-admin-0.7.4 vs app/helpers/decidim/admin/icon_link_helper.rb in decidim-admin-0.8.0

- old
+ new

@@ -16,15 +16,17 @@ # def icon_link_to(icon_name, link, title, options = {}) link_to(link, method: options[:method], class: "action-icon #{options[:class]}", - data: { tooltip: true, disable_hover: false }.merge(options[:data] || {}), - tooltip: true, - disable_hover: false, + data: options[:data] || {}, title: title, target: options[:target]) do - icon(icon_name) + content_tag(:span, class: "simple-has-tip", + data: { tooltip: true, disable_hover: false, click_open: false }, + title: title) do + icon(icon_name) + end end end end end end