gitlab-org--gitlab-foss/app/views/shared/members/_requests.html.haml

14 lines
583 B
Text
Raw Normal View History

- membership_source = local_assigns.fetch(:membership_source)
- requesters = local_assigns.fetch(:requesters)
2017-07-05 15:17:02 -04:00
- force_mobile_view = local_assigns.fetch(:force_mobile_view, false)
- return if requesters.empty?
.card.prepend-top-default{ class: ('card-mobile' if force_mobile_view ) }
.card-header
= _("Users requesting access to")
%strong= membership_source.name
2018-04-09 12:33:41 -04:00
%span.badge.badge-pill= requesters.size
%ul.content-list.members-list
= render partial: 'shared/members/member', collection: requesters, as: :member, locals: { force_mobile_view: force_mobile_view }