diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-12-19 18:10:00 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2016-12-19 18:10:00 +0300 |
commit | 7269df2822de786716636f757dee0f3780c5b08b (patch) | |
tree | b205de0b1ec0b7831366c0c0a8cb05526af3eb59 /app/views/projects/ci | |
parent | 54ab4adc335a46eb38f43c93e3216c9029068fbf (diff) |
Use group name for css classes
Diffstat (limited to 'app/views/projects/ci')
-rw-r--r-- | app/views/projects/ci/pipelines/_pipeline.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/ci/pipelines/_pipeline.html.haml b/app/views/projects/ci/pipelines/_pipeline.html.haml index 2e2bac9cd32..74ad9557130 100644 --- a/app/views/projects/ci/pipelines/_pipeline.html.haml +++ b/app/views/projects/ci/pipelines/_pipeline.html.haml @@ -44,10 +44,10 @@ - pipeline.stages.each do |stage| - if stage.status - detailed_status = stage.detailed_status(current_user) - - klass = "has-tooltip ci-status-icon ci-status-icon-#{detailed_status}" + - klass = "has-tooltip ci-status-icon ci-status-icon-#{detailed_status.group}" - hasMultipleBuilds = stage.statuses.count > 1 - icon_status = "#{detailed_status.icon}_borderless" - - icon_status_klass = "ci-status-icon ci-status-icon-#{detailed_status}" + - icon_status_klass = "ci-status-icon ci-status-icon-#{detailed_status.group}" - tooltip = "#{stage.name}: #{detailed_status.label || 'not found'}" .stage-container.mini-pipeline-graph |