Remove extraneous data attribute

I had `html: true` as a data attribute, but the tooltip was just text.
This commit is contained in:
Scott Hampton 2019-02-27 12:59:53 -07:00
parent 871ca1e51f
commit 99b2a5a2eb

View file

@ -9,8 +9,8 @@
- title = s_("PipelineStatusTooltip|Commit: %{ci_status}") % {ci_status: status.label}
- if path
= link_to path, class: css_classes, title: title, data: { html: true, placement: tooltip_placement } do
= link_to path, class: css_classes, title: title, data: { placement: tooltip_placement } do
= sprite_icon(status.icon, size: size)
- else
%span{ class: css_classes, title: title, data: { html: true, placement: tooltip_placement } }
%span{ class: css_classes, title: title, data: { placement: tooltip_placement } }
= sprite_icon(status.icon, size: size)