diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-10 20:11:34 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-10 20:11:34 +0300 |
commit | 46031d63cd085e392d5c3f406404cf7752a75561 (patch) | |
tree | 8a0fa3a26bdb05f16eb846533eb1de08f674f1d7 /app/views/admin/groups | |
parent | 28b0ed33cf968ca39d485de3e2777564dc1c9724 (diff) |
[skip ci] Convert panel related class names to card
Diffstat (limited to 'app/views/admin/groups')
-rw-r--r-- | app/views/admin/groups/show.html.haml | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/app/views/admin/groups/show.html.haml b/app/views/admin/groups/show.html.haml index 62087525b31..40da3346905 100644 --- a/app/views/admin/groups/show.html.haml +++ b/app/views/admin/groups/show.html.haml @@ -10,8 +10,8 @@ %hr .row .col-md-6 - .panel.panel-default - .panel-heading + .card + .card-header Group info: %ul.well-list %li @@ -58,9 +58,9 @@ = group_lfs_status(@group) = link_to icon('question-circle'), help_page_path('workflow/lfs/manage_large_binaries_with_git_lfs') - .panel.panel-default - .panel-heading - %h3.panel-title + .card + .card-header + %h3.card-title Projects %span.badge.badge-pill #{@group.projects.count} @@ -73,12 +73,12 @@ = storage_counter(project.statistics.storage_size) %span.float-right.light %span.monospace= project.full_path + '.git' - .panel-footer + .card-footer = paginate @projects, param_name: 'projects_page', theme: 'gitlab' - if @group.shared_projects.any? - .panel.panel-default - .panel-heading + .card + .card-header Projects shared with #{@group.name} %span.badge.badge-pill #{@group.shared_projects.count} @@ -94,10 +94,10 @@ .col-md-6 - if can?(current_user, :admin_group_member, @group) - .panel.panel-default - .panel-heading + .card + .card-header Add user(s) to the group: - .panel-body.form-holder + .card-body.form-holder %p.light Read more about project permissions %strong= link_to "here", help_page_path("user/permissions"), class: "vlink" @@ -111,8 +111,8 @@ = button_tag 'Add users to group', class: "btn btn-create" = render 'shared/members/requests', membership_source: @group, requesters: @requesters, force_mobile_view: true - .panel.panel-default - .panel-heading + .card + .card-header %strong= @group.name group members %span.badge.badge-pill= @group.members.size @@ -120,5 +120,5 @@ = link_to icon('pencil-square-o', text: 'Manage access'), polymorphic_url([@group, :members]), class: "btn btn-xs" %ul.well-list.group-users-list.content-list.members-list = render partial: 'shared/members/member', collection: @members, as: :member, locals: { show_controls: false } - .panel-footer + .card-footer = paginate @members, param_name: 'members_page', theme: 'gitlab' |