[%# views/communities/queue/members.tt View and edit pending membership requests Authors: Afuna Copyright (c) 2015 by Dreamwidth Studios, LLC. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. For a copy of the license, please reference 'perldoc perlartistic' or 'perldoc perlgpl'. %] [%- sections.title = ".title" | ml -%] [%- CALL dw.active_resource_group( "foundation" ) -%] [%- dw.need_res( { group => "foundation" } "stc/css/components/tables-as-list.css" "js/components/jquery.select-all.js" "stc/css/components/select-all.css" ) -%] [%- linkbar -%] [%- IF messages.size > 0 -%] [%- FOREACH msg = messages -%]
[% msg.ml | ml( num = msg.num ) %]
[%- END -%] [%- END -%] [%- IF user_list.size > 0 -%]
[%- dw.form_auth -%] [%- SET actions = [ "approve", "reject", "ban" ] -%] [%- FOREACH action = actions -%] [%- END -%] [%- FOREACH user = user_list -%] [%- FOREACH action = actions -%] [%- END -%] [%- END -%]
[% user.ljuser %] [%- form.radio_nested( label=dw.ml( ".action.$action" ), id="${action}_${user.userid}", name="user_${user.userid}", value=action ) -%]
[% INCLUDE components/pagination.tt current => pages.current, total_pages => pages.total_pages, %] [%- ELSE -%]
[% ".empty" | ml %]
[%- END -%]