diff options
Diffstat (limited to 'app/views/admin/users/_projects.html.haml')
-rw-r--r-- | app/views/admin/users/_projects.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/users/_projects.html.haml b/app/views/admin/users/_projects.html.haml index 3ccf3ef4f2a..2f77e83ac49 100644 --- a/app/views/admin/users/_projects.html.haml +++ b/app/views/admin/users/_projects.html.haml @@ -5,7 +5,7 @@ - c.body do = render 'shared/projects/list', projects: contributed_projects.sort_by(&:star_count).reverse, - projects_limit: 5, stars: true, avatar: false + projects_limit: 5, stars: true, avatar: false, compact_mode: true - if local_assigns.has_key?(:projects) && projects.present? = render Pajamas::CardComponent.new(card_options: { class: 'gl-mb-5' }, body_options: { class: 'gl-py-0' }) do |c| @@ -14,4 +14,4 @@ - c.body do = render 'shared/projects/list', projects: projects.sort_by(&:star_count).reverse, - projects_limit: 10, stars: true, avatar: false + projects_limit: 10, stars: true, avatar: false, compact_mode: true |