summaryrefslogtreecommitdiff
path: root/app/views/admin
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2017-07-05 12:17:02 -0700
committerClement Ho <ClemMakesApps@gmail.com>2017-07-06 17:44:39 -0500
commit8e55acb063d46c9968f07ab6108a428e7b43d982 (patch)
treec7d7bb7ae41de3cccab99701dbd2931f78acdaf0 /app/views/admin
parent2cfc58f5050105887141a4217e1ff6d26122c010 (diff)
downloadgitlab-ce-8e55acb063d46c9968f07ab6108a428e7b43d982.tar.gz
Improve members view on mobile
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/groups/show.html.haml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/admin/groups/show.html.haml b/app/views/admin/groups/show.html.haml
index 9149b8e7fb9..843c71af466 100644
--- a/app/views/admin/groups/show.html.haml
+++ b/app/views/admin/groups/show.html.haml
@@ -107,8 +107,7 @@
= select_tag :access_level, options_for_select(GroupMember.access_level_roles), class: "project-access-select select2"
%hr
= button_tag 'Add users to group', class: "btn btn-create"
-
- = render 'shared/members/requests', membership_source: @group, requesters: @requesters
+ = render 'shared/members/requests', membership_source: @group, requesters: @requesters, force_mobile_view: true
.panel.panel-default
.panel-heading
@@ -117,7 +116,7 @@
%span.badge= @group.members.size
.pull-right
= 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
+ %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
= paginate @members, param_name: 'members_page', theme: 'gitlab'