[%# This template can be passed the following variables: session_info => { username, session_id, superuser, fullname, etc } editor => 1, or 0 or undefined descriptions => { issues => { A1 => blah, A2 => ... }, constit => { A2 => blah } } filters => [ { issues => [ A1, A2, A2 ] } ] categories => [ { description => "blah", code => "A1", cnt => 4 }] total_count => 4023 browsetype => "issues" or "constit" (only one term) page => 'remove' or 'reject' pagenum => 1, 2, 3, 4, 5 %] [% username = session_info.username %] [% index = 1 %]
[% IF hit_count < 1 %] Here are some tips for creating a more effective search.
[% ELSIF hit_count > 40 %] Your search returned too many results. Please try a more specific search term.
[% ELSE %]
Result Number | Name | Description | Camps | Constituencies |
---|---|---|---|---|
[% index; index = index + 1; %] | [% list.name %] | [% list.description %] | [% FOREACH camp = list.camp %][% descriptions.camp.$camp %] [% END %] |
[% FOREACH constit = list.constit %][% descriptions.constit.$constit %] [% END %] |
[% INCLUDE colorbar color = "ff0000" height = "8" percent = "98%" %] [% INCLUDE footer %]