From 99b2a5a2ebcf878b09e0591a7e4c39fe533e8e74 Mon Sep 17 00:00:00 2001 From: Scott Hampton Date: Wed, 27 Feb 2019 12:59:53 -0700 Subject: [PATCH] Remove extraneous data attribute I had `html: true` as a data attribute, but the tooltip was just text. --- app/views/ci/status/_icon.html.haml | 4 ++-- 1 file 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)