aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/admin/flagged.html
blob: fc8b1fae19c8435b7e3807becfb704d4f52cc72b (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
42
43
44
45
[% INCLUDE 'admin/header.html' title=loc('Search Reports') %]
[% PROCESS 'admin/report_blocks.html' %]


<h2>[% loc( 'Problems' ) %]</h2>
[% IF problems.size > 0 %]
<table cellspacing="0" cellpadding="2" border="1">
    <tr>
        <th>[% loc('ID') %]</th>
        <th>[% loc('Title') %]</th>
        <th>[% loc('Name') %]</th>
        <th>[% loc('Body') %]</th>
        <th>[% loc('State') %]</th>
        <th>*</th>
    </tr>
    [% INCLUDE 'admin/problem_row.html' %]
</table>
[% ELSE %]
<p>
[% loc('No flagged problems found') %]
</p>
[% END %]

<h2>[% loc( 'Users' ) %]</h2>
[% IF users%]
<table cellspacing="0" cellpadding="2" border="1">
    <tr>
        <th>[% loc('Name') %]</th>
        <th>[% loc('Email') %]</th>
    </tr>
[% WHILE ( user = users.next ) -%]
    <tr>
        <td>[% user.name | html %]</td>
        <td>[% user.email | html %]</td>
        <td><a href="[% c.uri_for( 'reports', search => user.email ) %]">list content</a></td>
    </tr>
[%- END %]
</table>
[%- ELSE %]
<p>
[% loc('No flagged users found') %]
</p>
[%- END %]

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