summaryrefslogtreecommitdiff
path: root/app/views/projects/commit
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-05-12 13:08:18 -0500
committerKamil Trzcinski <ayufan@ayufan.eu>2016-05-12 13:08:18 -0500
commit0d43b9270677106f3aa37112da1dd0482ed40b55 (patch)
tree24f89bf7bd67dfa94941e5732e1235a229688081 /app/views/projects/commit
parent86cedb082576ceca3522c33c10d367d765e02cf8 (diff)
downloadgitlab-ce-0d43b9270677106f3aa37112da1dd0482ed40b55.tar.gz
Fix CI tests
Diffstat (limited to 'app/views/projects/commit')
-rw-r--r--app/views/projects/commit/_ci_stage.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/projects/commit/_ci_stage.html.haml b/app/views/projects/commit/_ci_stage.html.haml
index f9f2757dc34..bdadf2944c4 100644
--- a/app/views/projects/commit/_ci_stage.html.haml
+++ b/app/views/projects/commit/_ci_stage.html.haml
@@ -6,8 +6,9 @@
- status = latest.status
%span{class: "ci-status-link ci-status-icon-#{status}"}
= ci_icon_for_status(status)
- &nbsp;
- = stage.titleize.pluralize
+ - if stage
+ &nbsp;
+ = stage.titleize.pluralize
= render latest.ordered, coverage: @project.build_coverage_enabled?, tage: false, ref: false, allow_retry: true
= render retried.ordered, coverage: @project.build_coverage_enabled?, stage: false, ref: false, retried: true
%tr