diff options
author | Scott Hampton <shampton@gitlab.com> | 2019-02-27 22:59:53 +0300 |
---|---|---|
committer | Scott Hampton <shampton@gitlab.com> | 2019-02-27 22:59:53 +0300 |
commit | 99b2a5a2ebcf878b09e0591a7e4c39fe533e8e74 (patch) | |
tree | d0b36a78821c698e38192d7e9108713f487ec306 /app/views | |
parent | 871ca1e51f791c2d8b36830d521e90577608adf0 (diff) |
Remove extraneous data attribute
I had `html: true` as a data attribute, but the tooltip was just text.
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/ci/status/_icon.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/ci/status/_icon.html.haml b/app/views/ci/status/_icon.html.haml index 1ca0a55b156..f38bdb2e5ed 100644 --- a/app/views/ci/status/_icon.html.haml +++ b/app/views/ci/status/_icon.html.haml @@ -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) |