[%# Three variables are passed: session_info => { username, session_id, superuser, fullname, etc } lists => [ {name, listadd, etc }, {more...}, etc ] descriptions => { Issues => { A1 => blah, A2 => ... }, Constit => { A2 => blah } } %] [% superuser = session_info.superuser %] [% username = session_info.username %]
[% IF superuser == 1 %]
[% END %] Recent changes to items in your issues/constituencies:
[% IF lists.size < 1 %] There are no changes to your items currently on record in the database. [% ELSE %]
Last Change | Item Name | Camps | Constituencies | Time Changed | Changed By |
---|---|---|---|---|---|
[% list.lastchange %] | [% list.name %] | [% none IF list.camp.size == 0 %] [% FOREACH camp = list.camp %] [% descriptions.camp.$camp %] [% "|" UNLESS loop.count == loop.size %] [% END %] | [% none IF list.constit.size == 0 %] [% FOREACH constit = list.constit %] [% descriptions.constit.$constit %] [% "|" UNLESS loop.count == loop.size %] [% END %] | [% list.updated %] | [% list.lasteditor or " " %] |
[% END %] [% INCLUDE colorbar color = "ff0000" height = "8" percent = "98%" %] [% INCLUDE footer %]