aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/reports/index.html
blob: 283df528549780c05cedd6ff6bba22dc18d0cf3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[% INCLUDE 'header.html', title = loc('Summary reports'),  bodyclass => 'fullwidthpage' %]

<h1>[% loc('All Reports') %]</h1>

<div class="intro">
<p>
[% loc('This is a summary of all reports on this site; select a particular council to see the reports sent there.') %]
[% loc('Greyed-out lines are councils that no longer exist.') %]
</p>
</div>

<table cellpadding="3" cellspacing="1" border="0" class="nicetable">
<thead>
<tr>
<th class="title">[% loc('Name') %]</th>
<th class="data">[% loc('New <br>problems') %]</th>
<th class="data">[% loc('Older <br>problems') %]</th>
<th class="data">[% loc('Old / unknown <br>problems') %]</th>
<th class="data">[% loc('Recently <br>fixed') %]</th>
<th class="data">[% loc('Older <br>fixed') %]</th>
</tr>
</thead>

<tbody>
[% FOREACH area IN areas_info_sorted %]
<tr align="center"
[%- IF area.generation_high == 10 %] class="gone"
[%- ELSIF ! (loop.count % 2) %] class="a"
[%- END %]>
<td class="title"><a href="[% area.url %]">[% area.name %]</a></td>
<td class="data">[% open.${area.id}.new or 0 %]</td>
<td class="data">[% open.${area.id}.older or 0 %]</td>
<td class="data">[% open.${area.id}.unknown or 0 %]</td>
<td class="data">[% fixed.${area.id}.new or 0 %]</td>
<td class="data">[% fixed.${area.id}.old or 0 %]</td>
</tr>
[% END %]
</tbody>
</table>

[% INCLUDE 'footer.html', pagefooter = 'yes' %]