blob: adbcfdeaa7139164f26e57d76dec9b887e5dcae3 (
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
46
47
48
49
50
51
52
|
[% INCLUDE 'admin/header.html' title=loc('Flagged reports and users') %]
[% PROCESS 'admin/report_blocks.html' %]
<p class="fms-admin-info">
[% loc("You can flag any report or user by editing them, and they will be listed on this page.
For example, this can useful if you want to keep an eye on a user who has posted inappropriate
reports in the past.") %]
<br>
[% loc("Reports made by flagged users are never sent through to bodies, but are automatically hidden instead.") %]
</p>
<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' %]
|