Commit 2036390e authored by David O'Regan's avatar David O'Regan

Merge branch 'yo-remove-footer-members-list' into 'master'

Conditionally show card footer in single group page in admin

See merge request gitlab-org/gitlab!51426
parents cd2ff96f 4a031930
......@@ -80,8 +80,9 @@
= storage_counter(project.statistics.storage_size)
%span.float-right.light
%span.monospace= project.full_path + '.git'
.card-footer
= paginate @projects, param_name: 'projects_page', theme: 'gitlab'
- unless @projects.size < Kaminari.config.default_per_page
.card-footer
= paginate @projects, param_name: 'projects_page', theme: 'gitlab'
- shared_projects = @group.shared_projects.sort_by(&:name)
- unless shared_projects.empty?
......@@ -134,5 +135,6 @@
group: @group,
show_controls: false,
current_user_is_group_owner: current_user_is_group_owner }
.card-footer
= paginate @members, param_name: 'members_page', theme: 'gitlab'
- unless @members.size < Kaminari.config.default_per_page
.card-footer
= paginate @members, param_name: 'members_page', theme: 'gitlab'
---
title: Conditionally show card footer in single group page in admin
merge_request: 51426
author: Yogi (@yo)
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment