[% body_name = PROCESS 'reports/_body_name.html' | trim %] [% IF ward_type %] [% name = "$ward.name, $body_name" thing = ward_type %] [% ELSIF ward %] [% name = "$ward.name, $body_name" thing = loc('ward') %] [% ELSE %] [% name = body_name thing = loc('council') %] [% END %] [% ward_text = loc( 'Wards of this council' ) %] [% ward_link_text = loc('Follow a ward link to view only reports within that ward.') %] [% ward_link_instruction = loc('Select multiple wards to view only reports within those wards.') %] [% ward_link_multiple = loc('Select multiple wards?') %] [% ward_link_button = loc('View wards') %] [% IF c.cobrand.moniker.match('lincolnshire') %] [% ward_text = 'View reports by division' %] [% ELSIF c.cobrand.moniker.match('oxfordshire') %] [% ward_text = 'View reports by division' %] [% ward_text = loc( 'View reports by division' ) %] [% ward_link_text = loc('Follow a division link to view only reports within that division.') %] [% ward_link_instruction = loc('Select multiple divisions to view only reports within those divisions.') %] [% ward_link_multiple = loc('Select multiple divisions?') %] [% ward_link_button = loc('View divisions') %] [% ELSIF c.cobrand.is_council %] [% ward_text = loc( 'View reports by ward' ) %] [% END %] [% IF c.user && c.user.has_body_permission_to('planned_reports') %] [% map_sub_links = BLOCK %] [% loc('Shortlist all visible') %] [% END %] [% END %] [% PROCESS "report/photo-js.html"; PROCESS "maps/${map.type}.html"; SET bodyclass = 'mappage'; INCLUDE 'header.html', title = tprintf(loc('%s - Summary reports'), name) rss = [ tprintf(loc('Problems within %s, %s', "First %s is the body name, second %s the site name"), name, site_name), rss_url ] %] [% map_html | safe %]
[% INCLUDE 'footer.html' %]