Commit aba894b9 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Don't check if stage name doesn't exist

parent df84444b
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
%li.stage-column %li.stage-column
.stage-name .stage-name
%a{ name: stage.name } %a{ name: stage.name }
- if stage.name = stage.name.titleize
= stage.name.titleize
.builds-container .builds-container
%ul %ul
- status_groups.each do |group_name, grouped_statuses| - status_groups.each do |group_name, grouped_statuses|
......
...@@ -4,9 +4,8 @@ ...@@ -4,9 +4,8 @@
%a{ name: stage.name } %a{ name: stage.name }
%span{class: "ci-status-link ci-status-icon-#{stage.status}"} %span{class: "ci-status-link ci-status-icon-#{stage.status}"}
= ci_icon_for_status(stage.status) = ci_icon_for_status(stage.status)
- if stage.name  
  = stage.name.titleize
= stage.name.titleize
= render stage.statuses.latest_ordered, coverage: @project.build_coverage_enabled?, stage: false, ref: false, pipeline_link: false, allow_retry: true = render stage.statuses.latest_ordered, coverage: @project.build_coverage_enabled?, stage: false, ref: false, pipeline_link: false, allow_retry: true
= render stage.statuses.retried_ordered, coverage: @project.build_coverage_enabled?, stage: false, ref: false, pipeline_link: false, retried: true = render stage.statuses.retried_ordered, coverage: @project.build_coverage_enabled?, stage: false, ref: false, pipeline_link: false, retried: true
%tr %tr
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment