Commit aba894b9 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Don't check if stage name doesn't exist

parent df84444b
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
%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
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
%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
......
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