summaryrefslogtreecommitdiff
path: root/app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml')
-rw-r--r--app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml b/app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml
index c45b73e4225..1c457244a7a 100644
--- a/app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml
+++ b/app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml
@@ -2,9 +2,9 @@
- if subject.target_url
= link_to subject.target_url do
%span.ci-status-icon
- = render_status_with_link('commit status', subject.status)
+ = ci_icon_for_status(subject.status)
%span.ci-status-text= subject.name
- else
%span.ci-status-icon
- = render_status_with_link('commit status', subject.status)
+ = ci_icon_for_status(subject.status)
%span.ci-status-text= subject.name