aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-06-07 14:06:00 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-06-07 14:06:00 +0100
commitccaa2f9b12d86ea43ebfcf250a3d788440064b5c (patch)
tree007935b9577f53fab571d0ad481f535bbe748e10 /templates/web/default
parentbe0166b940f99a04ad15805744dc87f6c7c605fe (diff)
Minor text and HTML fixes from final look through some old CGI scripts, now removed.
Diffstat (limited to 'templates/web/default')
-rw-r--r--templates/web/default/report/display.html4
-rw-r--r--templates/web/default/report/new/fill_in_details.html7
-rw-r--r--templates/web/default/tokens/confirm_update.html2
3 files changed, 8 insertions, 5 deletions
diff --git a/templates/web/default/report/display.html b/templates/web/default/report/display.html
index b877874e5..4267b359e 100644
--- a/templates/web/default/report/display.html
+++ b/templates/web/default/report/display.html
@@ -43,7 +43,7 @@
<form action="[% c.uri_for( '/alert/subscribe' ) %]" method="post" id="email_alert_box">
<p>[% loc('Receive email when updates are left on this problem.' ) %]</p>
- <label class="n" for="alert_rznvy">[% loc('Email') %]</label>
+ <label class="n" for="alert_rznvy">[% loc('Email:') %]</label>
<input type="text" name="rznvy" id="alert_rznvy" value="[% email | html %]" size="30">
<input type="hidden" name="id" value="[% problem.id %]">
<input type="hidden" name="type" value="updates">
@@ -107,7 +107,7 @@
[% IF problem.state != 'fixed' %]
<div class="checkbox">
- <input type="checkbox" name="fixed" id="form_fixed" value="1" [% fixed %]>
+ <input type="checkbox" name="fixed" id="form_fixed" value="1"[% fixed %]>
<label for="form_fixed">[% loc('This problem has been fixed') %]</label>
</div>
[% END %]
diff --git a/templates/web/default/report/new/fill_in_details.html b/templates/web/default/report/new/fill_in_details.html
index 63f8e41e8..26f092c8e 100644
--- a/templates/web/default/report/new/fill_in_details.html
+++ b/templates/web/default/report/new/fill_in_details.html
@@ -30,6 +30,9 @@
<h1>[% loc('Reporting a problem') %]</h1>
[% IF report.used_map %]
+ [% IF partial_token %]
+ <p id="unknown">[% loc('Please note your report has <strong>not yet been sent</strong>. Choose a category and add further information below, then submit.') %]</p>
+ [% END %]
<p>[% loc('You have located the problem at the point marked with a purple pin on the map. If this is not the correct location, simply click on the map again. ') %]</p>
[% END %]
@@ -71,8 +74,8 @@
[% END %]
<div class="form-field">
- <label for="category">[% category_label | html %]</label>
- <select name="category">
+ <label for="form_category">[% category_label | html %]</label>
+ <select name="category" id="form_category">
[%- FOREACH cat_op IN category_options %]
<option value="[% cat_op | html %]"[% ' selected' IF report.category == cat_op %]>[% cat_op | html %]</option>
[%- END %]
diff --git a/templates/web/default/tokens/confirm_update.html b/templates/web/default/tokens/confirm_update.html
index 25a1235f6..10886cb12 100644
--- a/templates/web/default/tokens/confirm_update.html
+++ b/templates/web/default/tokens/confirm_update.html
@@ -9,7 +9,7 @@
%]
[% ELSE %]
[%
- tprintf( loc('You have successfully confirmed your update and you can now <a href="%s">view it on the site</a>'), c.uri_for( '/report',
+ tprintf( loc('You have successfully confirmed your update and you can now <a href="%s">view it on the site</a>.'), c.uri_for( '/report',
update.problem.id ) _ '#' _ update.id );
%]
[% END %]