summaryrefslogtreecommitdiff
path: root/app/views/ci/status
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-01-25 11:04:16 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-01-25 15:44:45 +0000
commit819ae974d7cf8db98d6400c5ac85ebbd68c36f67 (patch)
tree1c470fd67672e8d97407a25e63657c85f3c121e5 /app/views/ci/status
parent4983fbaaf457cf434bca83ecbc178723d90a3dd2 (diff)
downloadgitlab-ce-819ae974d7cf8db98d6400c5ac85ebbd68c36f67.tar.gz
Fix broken tests
Fix linter error
Diffstat (limited to 'app/views/ci/status')
-rw-r--r--app/views/ci/status/_graph_badge.html.haml4
1 files changed, 2 insertions, 2 deletions
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)