diff options
author | Mario de la Ossa <mariodelaossa@gmail.com> | 2019-03-19 13:56:03 -0600 |
---|---|---|
committer | Mario de la Ossa <mariodelaossa@gmail.com> | 2019-03-19 14:17:16 -0600 |
commit | 2a520b1ce75f2f06d9780f9b6f17893d9f775422 (patch) | |
tree | 21893582a6aa91ffb75aea035f60abf2d086fdbc /app/views/shared | |
parent | 74ebeebbcdbe5a996610fa02711f0563b4a774fa (diff) | |
download | gitlab-ce-2a520b1ce75f2f06d9780f9b6f17893d9f775422.tar.gz |
Avoid loading pipeline status in project search
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 d2b1be29eb9..90fb067e75d 100644 --- a/app/views/shared/projects/_project.html.haml +++ b/app/views/shared/projects/_project.html.haml @@ -10,7 +10,7 @@ - show_last_commit_as_description = false unless local_assigns[:show_last_commit_as_description] == true && can_show_last_commit_in_list?(project) - css_class = '' unless local_assigns[:css_class] - css_class += " no-description" if project.description.blank? && !show_last_commit_as_description -- cache_key = project_list_cache_key(project) +- cache_key = project_list_cache_key(project, pipeline_status: pipeline_status) - updated_tooltip = time_ago_with_tooltip(project.last_activity_date) - css_controls_class = compact_mode ? "" : "flex-lg-row justify-content-lg-between" - avatar_container_class = project.creator && use_creator_avatar ? '' : 'rect-avatar' |