summaryrefslogtreecommitdiff
path: root/app/views/projects/issues/_related_branches.html.haml
diff options
context:
space:
mode:
authorScott Hampton <shampton@gitlab.com>2019-02-19 13:27:53 -0700
committerScott Hampton <shampton@gitlab.com>2019-02-19 13:27:53 -0700
commit54a5d513e5f068c53fad3b2dac04998f5e9afd88 (patch)
treef00f87a1549059dd2d84203dd8f4c730af41b823 /app/views/projects/issues/_related_branches.html.haml
parentab9f8785ebf5483e5d2cd02497b57fa05a47561e (diff)
downloadgitlab-ce-54a5d513e5f068c53fad3b2dac04998f5e9afd88.tar.gz
Fixing CI icon mismatch
MR list, and related MRs and branches were using a deprecated helper. Created a new icon haml file to help move these forward.
Diffstat (limited to 'app/views/projects/issues/_related_branches.html.haml')
-rw-r--r--app/views/projects/issues/_related_branches.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/_related_branches.html.haml b/app/views/projects/issues/_related_branches.html.haml
index ffdd96870ef..f8d1d64100a 100644
--- a/app/views/projects/issues/_related_branches.html.haml
+++ b/app/views/projects/issues/_related_branches.html.haml
@@ -8,7 +8,7 @@
- pipeline = @project.pipeline_for(branch, target.sha) if target
- if can?(current_user, :read_pipeline, pipeline)
%span.related-branch-ci-status
- = render_pipeline_status(pipeline)
+ = render 'ci/status/icon', status: pipeline.detailed_status(current_user), link: true
%span.related-branch-info
%strong
= link_to branch, project_compare_path(@project, from: @project.default_branch, to: branch), class: "ref-name"