aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2013-08-08 13:07:32 +0100
committerDave Whiteland <dave@mysociety.org>2013-09-05 17:31:07 +0100
commit3adf4caf5404cf972847946de5a85aaff06048ab (patch)
tree171fbfe96bec39fe34813a13cf564e83d5f8f7fe
parent7e54687f09249978abf784e729ffc6e243627e9d (diff)
add flagged user hint
also updated flagged page to indicate that flagged user's reports are automatically hidden (by send_reports)
-rw-r--r--templates/web/default/admin/flagged.html2
-rw-r--r--templates/web/default/admin/user-form.html14
2 files changed, 15 insertions, 1 deletions
diff --git a/templates/web/default/admin/flagged.html b/templates/web/default/admin/flagged.html
index 32c4b592a..5dc2e7c95 100644
--- a/templates/web/default/admin/flagged.html
+++ b/templates/web/default/admin/flagged.html
@@ -6,6 +6,8 @@
[% 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>
[% END %]
diff --git a/templates/web/default/admin/user-form.html b/templates/web/default/admin/user-form.html
index 2ba7aeb03..2f9d1269e 100644
--- a/templates/web/default/admin/user-form.html
+++ b/templates/web/default/admin/user-form.html
@@ -33,7 +33,19 @@
</li>
</select>
[% IF c.cobrand.moniker != 'zurich' %]
- <li>[% loc('Flagged:') %] <input type="checkbox" id="flagged" name="flagged"[% user.flagged ? ' checked' : '' %]></li>
+ <li>
+ <div class="admin-hint">
+ <p>
+ [% loc("Mark abusive users as <strong>flagged</strong>.") %]
+ <br>
+ [% loc("Reports made by flagged users are never sent through to bodies, but are automatically hidden instead.") %]
+ <br>
+ [% tprintf(loc("Flagged users are listed on the <a href='%s'>flagged</a> page."), c.uri_for( 'flagged' )) %]
+ </p>
+ </div>
+
+ [% loc('Flagged:') %] <input type="checkbox" id="flagged" name="flagged"[% user.flagged ? ' checked' : '' %]>
+ </li>
[% END %]
</ul>
<input type="submit" name="Submit changes" value="[% loc('Submit changes') %]" >