13 lines
583 B
Text
13 lines
583 B
Text
- membership_source = local_assigns.fetch(:membership_source)
|
|
- requesters = local_assigns.fetch(:requesters)
|
|
- force_mobile_view = local_assigns.fetch(:force_mobile_view, false)
|
|
|
|
- return if requesters.empty?
|
|
|
|
.panel.panel-default.prepend-top-default{ class: ('panel-mobile' if force_mobile_view ) }
|
|
.panel-heading
|
|
Users requesting access to
|
|
%strong= membership_source.name
|
|
%span.badge= requesters.size
|
|
%ul.content-list.members-list
|
|
= render partial: 'shared/members/member', collection: requesters, as: :member, locals: { force_mobile_view: force_mobile_view }
|