diff options
author | Scott Hampton <shampton@gitlab.com> | 2019-02-26 20:59:41 +0300 |
---|---|---|
committer | Scott Hampton <shampton@gitlab.com> | 2019-02-26 20:59:41 +0300 |
commit | 2b51745394e8568cf91ce6ee95574f84fc38722e (patch) | |
tree | a79f06ab99d1985bee0458894d69d0a68867b2b0 /app/views/shared | |
parent | 506ac78d48b6a96081b02818c432650b8508913a (diff) |
Removed other deprecated status helpers
Updating a couple other places that were still using deprecated status.
Diffstat (limited to 'app/views/shared')
-rw-r--r-- | app/views/shared/projects/_project.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/projects/_project.html.haml b/app/views/shared/projects/_project.html.haml index df17ae95e2a..2a38dce4896 100644 --- a/app/views/shared/projects/_project.html.haml +++ b/app/views/shared/projects/_project.html.haml @@ -85,6 +85,6 @@ = number_with_delimiter(project.open_issues_count) - if pipeline_status && can?(current_user, :read_cross_project) && project.pipeline_status.has_status? && can?(current_user, :read_build, project) %span.icon-wrapper.pipeline-status - = render_project_pipeline_status(project.pipeline_status, tooltip_placement: 'top') + = render 'ci/status/icon', status: project.commit.last_pipeline.detailed_status(current_user), type: 'commit', tooltip_placement: 'top' .updated-note %span Updated #{updated_tooltip} |