diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-06-13 16:32:50 +0100 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-06-28 11:29:59 +0100 |
commit | 8e8eb97861a8a93625590274af8382e9333cbf91 (patch) | |
tree | e6757c84a86bb241a3d4a77971039f43879142c2 /app/views/shared | |
parent | 9da107f00bd17a525064f415ec0dcfd92b4907a0 (diff) | |
download | gitlab-ce-8e8eb97861a8a93625590274af8382e9333cbf91.tar.gz |
Removes pending delete from filter scopes
Diffstat (limited to 'app/views/shared')
-rw-r--r-- | app/views/shared/projects/_list.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/projects/_list.html.haml b/app/views/shared/projects/_list.html.haml index aaffc0927eb..7ed6c622558 100644 --- a/app/views/shared/projects/_list.html.haml +++ b/app/views/shared/projects/_list.html.haml @@ -13,7 +13,7 @@ - if projects.any? %ul.projects-list - projects.each_with_index do |project, i| - - css_class = (i >= projects_limit) ? 'hide' : nil + - css_class = (i >= projects_limit) || project.pending_delete? ? 'hide' : nil = render "shared/projects/project", project: project, skip_namespace: skip_namespace, avatar: avatar, stars: stars, css_class: css_class, ci: ci, use_creator_avatar: use_creator_avatar, forks: forks, show_last_commit_as_description: show_last_commit_as_description |