aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-08-10 17:46:26 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-08-10 17:54:13 +0100
commit7e7560d7cbd55fb78cc7996e4a5fce7908c7fbfb (patch)
treefbf6a35def772150689a1f999a2707ce4ce736b2
parente789a07dcb1936e3b0d7a23583aaf3d05e3d80f5 (diff)
Fix Moderate button labels, other labels/spacing.
Fixes #855. TODO: Prettifying of report moderation needs to be applied to the update form too.
-rw-r--r--templates/web/base/report/_main.html2
-rw-r--r--templates/web/base/report/update.html24
2 files changed, 12 insertions, 14 deletions
diff --git a/templates/web/base/report/_main.html b/templates/web/base/report/_main.html
index 1d958c30b..e536d3f33 100644
--- a/templates/web/base/report/_main.html
+++ b/templates/web/base/report/_main.html
@@ -10,7 +10,7 @@
<form method="post" action="/moderate/report/[% problem.id %]">
<input type="hidden" name="token" value="[% csrf_token %]">
<p class="moderate-display">
- <input type="button" class="btn moderate" value="moderate">
+ <input type="button" class="btn moderate" value="Moderate this report">
</p>
[% END %]
diff --git a/templates/web/base/report/update.html b/templates/web/base/report/update.html
index aaad33b7a..93d03c75d 100644
--- a/templates/web/base/report/update.html
+++ b/templates/web/base/report/update.html
@@ -9,17 +9,15 @@
[% IF moderating; original_update = update.moderation_original_data %]
<form method="post" action="/moderate/report/[% problem.id %]/update/[% update.id %]">
<input type="hidden" name="token" value="[% csrf_token %]">
- <input type="button" class="btn moderate moderate-display" value="moderate">
+ <input type="button" class="btn moderate moderate-display" value="Moderate this update">
<div class="moderate-edit">
- <input type="checkbox" class="hide-document" name="update_hide">
- <label for="update_hide">Hide update completely?</label>
- <br />
- <input type="checkbox" name="update_show_name" [% update.anonymous ? '' : 'checked' %]>
- <label for="update_show_name">Show name publicly?</label>
+ <label><input type="checkbox" class="hide-document" name="update_hide">
+ Hide update completely?</label>
+ <label><input type="checkbox" name="update_show_name" [% update.anonymous ? '' : 'checked' %]>
+ Show name publicly?</label>
[% IF update.photo or original_update.photo %]
- <br />
- <input type="checkbox" name="update_show_photo" [% update.photo ? 'checked' : '' %]>
- <label for="update_show_photo">Show Photo?</label>
+ <label><input type="checkbox" name="update_show_photo" [% update.photo ? 'checked' : '' %]>
+ Show Photo?</label>
[% END %]
</div>
[% END %]
@@ -38,8 +36,8 @@
[% IF moderating %]
<div class="moderate-edit">
[% IF update.text != original.detail %]
- <input type="checkbox" name="update_revert_detail" class="revert-textarea">
- <label for="update_revert_detail">Revert to original</label>
+ <label><input type="checkbox" name="update_revert_detail" class="revert-textarea">
+ Revert to original</label>
[% END %]
<textarea name="update_detail">[% add_links( update.text ) %]</textarea>
</div>
@@ -59,8 +57,8 @@
<label for="moderation_reason">Moderation reason:</label>
<input type="text" name="moderation_reason"
placeholder="Describe why you are moderating this">
- <input type="submit" class="red-btn" value="moderate it">
- <input type="button" class="btn cancel" value="cancel">
+ <input type="submit" class="red-btn" value="Save changes">
+ <input type="button" class="btn cancel" value="Discard changes">
</div>
</form>
[% END %]