diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-20 18:08:30 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-20 18:08:30 +0000 |
commit | 4faa270685797bd689d2035efe7c7e724950eb82 (patch) | |
tree | 880f35cfcb4ef5dad3c82f701937d27d5cc85389 /app/views/shared | |
parent | da23c5d563d68bfa5271b216209a7715c7ce3073 (diff) | |
download | gitlab-ce-4faa270685797bd689d2035efe7c7e724950eb82.tar.gz |
Add latest changes from gitlab-org/gitlab@master
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 141118110ea..79a33316b1a 100644 --- a/app/views/shared/projects/_project.html.haml +++ b/app/views/shared/projects/_project.html.haml @@ -12,7 +12,7 @@ - cache_key = project_list_cache_key(project, pipeline_status: pipeline_status) - updated_tooltip = time_ago_with_tooltip(project.last_activity_date) - show_pipeline_status_icon = pipeline_status && can?(current_user, :read_cross_project) && project.pipeline_status.has_status? && can?(current_user, :read_build, project) -- last_pipeline = project.last_pipeline if show_pipeline_status_icon +- last_pipeline = last_pipeline_from_status_cache(project) if show_pipeline_status_icon - css_controls_class = "with-pipeline-status" if show_pipeline_status_icon && last_pipeline.present? - css_metadata_classes = "gl-display-flex gl-align-items-center gl-ml-5 gl-reset-color! icon-wrapper has-tooltip" |