From 819ae974d7cf8db98d6400c5ac85ebbd68c36f67 Mon Sep 17 00:00:00 2001 From: Filipa Lacerda Date: Wed, 25 Jan 2017 11:04:16 +0000 Subject: Fix broken tests Fix linter error --- app/views/ci/status/_graph_badge.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/views/ci/status/_graph_badge.html.haml b/app/views/ci/status/_graph_badge.html.haml index edfb02d21f3..a44adc6205a 100644 --- a/app/views/ci/status/_graph_badge.html.haml +++ b/app/views/ci/status/_graph_badge.html.haml @@ -2,7 +2,7 @@ - subject = local_assigns.fetch(:subject) - status = subject.detailed_status(current_user) -- klass = "ci-status-icon ci-status-icon-#{status.group}" +- klass = "ci-status-icon ci-status-icon-#{status.group} js-ci-status-icon-#{status.group}" - tooltip = "#{subject.name} - #{status.label}" - if status.has_details? @@ -16,5 +16,5 @@ - if status.has_action? = link_to status.action_path, class: 'ci-action-icon-container has-tooltip', method: status.action_method, data: { toggle: 'tooltip', title: status.action_title } do - %i.ci-action-icon-wrapper + %i.ci-action-icon-wrapper{ class: "js-#{status.action_icon}" } = custom_icon(status.action_icon) -- cgit v1.2.1