aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/fiksgatami/nn/reports/index.html
blob: 05296ba76d7c47840ffdca35784d483d2ae1ddd8 (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
[% INCLUDE 'header.html', title = loc('Summary reports') %]

<p>
[% loc('This is a summary of all reports on this site; select a particular council to see the reports sent there.') %]
</p>

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

[% FOREACH body IN bodies %]
[% NEXT IF body.id == 301 %]
<tr align="center"
[%- IF loop.count % 2 %] class="a"
[%- END -%]
>
<td align="left"><a href="[% body.url(c) %]">[% body.name %]</a></td>
<td>[% open.${body.id}.new or 0 %]</td>
<td>[% open.${body.id}.older or 0 %]</td>
<td>[% open.${body.id}.unknown or 0 %]</td>
<td>[% fixed.${body.id}.new or 0 %]</td>
<td>[% fixed.${body.id}.old or 0 %]</td>
</tr>
[% END %]
</table>

[% INCLUDE 'footer.html' %]