[%# 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 %] CALF | Recently Modified Lists [% INCLUDE groupshead %] [% INCLUDE colorbar color = "ff0000" height = "8" percent = "98%" %] [% INCLUDE editorsmenu %]
[% username %]'s Recently Modified Items

[% IF superuser == 1 %]

You are logged in with superuser privledges. This means you are listed as an editor for every group in the database. Until you log out, additional options will be available to you on all pages of democracygroups site except the home page.

[% 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 %] [% FOREACH list = lists %] [% END %]
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 %]