aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/zurich/admin/index-sdm.html
blob: 4e4009c1676dc071704a5ba6023c8cf8bd88ac04 (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
[% PROCESS 'admin/header.html' title=loc('Summary') -%]
[% PROCESS 'admin/report_blocks.html' %]

<h2>[% loc('New reports') %]</h2>
[% INCLUDE list, problems = reports_new.all %]

<h2>[% loc('Reports awaiting approval') %]</h2>
[% INCLUDE list, problems = reports_unpublished.all, no_edit = 1 %]

<h2>[% loc('Reports published') %]</h2>
[% INCLUDE list, problems = reports_published.all, no_edit = 1 %]

[% INCLUDE 'admin/footer.html' %]

[% BLOCK list %]
<table cellspacing="0" cellpadding="2" border="1">
    <tr>
        <th>[% loc('ID') %]</th>
        <th>[% loc('Description') %]</th>
        <th>[% loc('Category') %]</th>
        <th>[% loc('Submitted') %]</th>
        <th>[% loc('Updated') %]</th>
        <th>[% loc('Status') %]</th>
        [% IF NOT no_edit %]
        <th>*</th>
        [% END %]
    </tr>
    <tr class="filter-row">
        <td colspan="8"><input type="text" placeholder="[%= loc('Filter report list') %]" /></td>
    </tr>
[% INCLUDE 'admin/problem_row.html' %]
</table>
[% END %]