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,6 +80,7 @@ ...@@ -80,6 +80,7 @@
= storage_counter(project.statistics.storage_size) = storage_counter(project.statistics.storage_size)
%span.float-right.light %span.float-right.light
%span.monospace= project.full_path + '.git' %span.monospace= project.full_path + '.git'
- unless @projects.size < Kaminari.config.default_per_page
.card-footer .card-footer
= paginate @projects, param_name: 'projects_page', theme: 'gitlab' = paginate @projects, param_name: 'projects_page', theme: 'gitlab'
...@@ -134,5 +135,6 @@ ...@@ -134,5 +135,6 @@
group: @group, group: @group,
show_controls: false, show_controls: false,
current_user_is_group_owner: current_user_is_group_owner } current_user_is_group_owner: current_user_is_group_owner }
- unless @members.size < Kaminari.config.default_per_page
.card-footer .card-footer
= paginate @members, param_name: 'members_page', theme: 'gitlab' = 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