[%# admin/index.tt Admin action list index pages Authors: Andrea Nall Denise Paolucci Sophie Hamilton 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'. %] [%- CALL dw.active_resource_group( "foundation" ) -%] [%- sections.title = title_ml | ml -%] [%- sections.head = BLOCK %] [%- END -%] [%- IF ml_scope -%][%- CALL dw.ml_scope( ml_scope ) -%][%- END -%] [%- IF description_ml -%]

[%- description_ml | ml -%]

[%- END -%] [%- FOREACH p IN pages -%][%- p.link = p.link_ml | ml -%][%- END -%]
    [% FOREACH p IN pages.sort_by_key( 'link' ) %]
  • [%- p.link -%] [%- IF p.gotprivs.size OR p.needsprivs.size -%] ([%- IF p.haspriv -%] [%- p.gotprivs.join(", ") -%] [%- ELSE -%] [%- ( p.needsprivs.size > 1 ? '.needs_one_of' : '.needspriv' ) | ml -%]: [%- p.needsprivs.join(", ") -%] [%- END -%]) [%- END -%]
    [%- p.description_ml | ml -%]
  • [% END %]