[%# This template is passed the following variables: session_info => { username, session_id, superuser, fullname, etc } types => { Issues => [ { code, description, [ {list1name, list1info}, {list2name, list2info} ], type }, { code, description, [ {list1name, list1info}, {list2name, list2info} ], type } ] Constit => [ { code, description, [ {list1name, list1info}, {list2name, list2info} ], type }, { code, description, [ {list1name, list1info}, {list2name, list2info} ], type } ] } That datastructure is probably the ugliest thing anywhere in the code. :) Sorry. It was one of the first things I wrote. :) %] [% username = session_info.username %] [% superuser = session_info.superuser %]
[% FOREACH category = types.$type %]
[% category.description %]
Status | Name | Description | Options |
---|---|---|---|
[% UNLESS list.approved == 1 %] PENDING [% ELSE %] [% END %] | [% list.name %] | [% list.description %] |
view edit delete |
[% END %] [% END %] [% INCLUDE footer %]