提交 7269df28 编写于 作者: F Filipa Lacerda

Use group name for css classes

上级 54ab4adc
...@@ -44,10 +44,10 @@ ...@@ -44,10 +44,10 @@
- pipeline.stages.each do |stage| - pipeline.stages.each do |stage|
- if stage.status - if stage.status
- detailed_status = stage.detailed_status(current_user) - 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 - hasMultipleBuilds = stage.statuses.count > 1
- icon_status = "#{detailed_status.icon}_borderless" - 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'}" - tooltip = "#{stage.name}: #{detailed_status.label || 'not found'}"
.stage-container.mini-pipeline-graph .stage-container.mini-pipeline-graph
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册