aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-09-25 15:44:01 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-09-25 15:44:01 +0100
commit84a41f4a8728d24c81815988b67b0f7bcd51a5f9 (patch)
tree63851f2430195c14a1856b41f60b468ae5333a7c /templates
parentdc52eab141b2b4ba6dd6306e9b73e69fa5b085ad (diff)
Move most 'change location' text to main column.
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/report/new/fill_in_details_form.html5
-rw-r--r--templates/web/bromley/report/new/fill_in_details_form.html5
-rw-r--r--templates/web/emptyhomes/report/new/fill_in_details_form.html6
-rw-r--r--templates/web/fixamingata/report/new/fill_in_details_form.html12
-rw-r--r--templates/web/fixmystreet/report/new/fill_in_details_form.html10
5 files changed, 18 insertions, 20 deletions
diff --git a/templates/web/base/report/new/fill_in_details_form.html b/templates/web/base/report/new/fill_in_details_form.html
index 5eff4e147..1e687cf88 100644
--- a/templates/web/base/report/new/fill_in_details_form.html
+++ b/templates/web/base/report/new/fill_in_details_form.html
@@ -1,10 +1,11 @@
-<h1>[% loc('Reporting a problem') %]</h1>
+<h1>[% loc('Report your problem') %]</h1>
[% IF report.used_map %]
+ <p class="change_location">[% loc('Wrong location? Just click again on the map.') %]</p>
+
[% 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 green pin on the map. If this is not the correct location, simply click on the map again. ') %]</p>
[% END %]
[% IF js %]
diff --git a/templates/web/bromley/report/new/fill_in_details_form.html b/templates/web/bromley/report/new/fill_in_details_form.html
index e4c101a1b..e5c920eae 100644
--- a/templates/web/bromley/report/new/fill_in_details_form.html
+++ b/templates/web/bromley/report/new/fill_in_details_form.html
@@ -1,4 +1,8 @@
<div id="report-a-problem-main">
+ [% IF report.used_map %]
+ <p class="change_location">[% loc('Wrong location? Just click again on the map.') %]</p>
+ [% END %]
+
[% IF js %]
<p id="councils_text">
[%
@@ -18,7 +22,6 @@
[% 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 green pin on the map. If this is not the correct location, simply click on the map again. ') %]</p>
[% ELSE %]
<p>
[% loc('Please fill in the form below with details of the problem, and describe the location as precisely as possible in the details box.') %]
diff --git a/templates/web/emptyhomes/report/new/fill_in_details_form.html b/templates/web/emptyhomes/report/new/fill_in_details_form.html
index b269267e1..e6ddd56a0 100644
--- a/templates/web/emptyhomes/report/new/fill_in_details_form.html
+++ b/templates/web/emptyhomes/report/new/fill_in_details_form.html
@@ -1,10 +1,10 @@
-<h1>[% loc('Reporting a problem') %]</h1>
+<h1>[% loc('Report your problem') %]</h1>
-[% IF report.used_map %]
+ [% IF report.used_map %]
+ <p class="change_location">[% loc('Wrong location? Just click again on the map.') %]</p>
[% 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 green pin on the map. If this is not the correct location, simply click on the map again. ') %]</p>
[% END %]
[% IF js %]
diff --git a/templates/web/fixamingata/report/new/fill_in_details_form.html b/templates/web/fixamingata/report/new/fill_in_details_form.html
index 17c7c8870..63c4e8788 100644
--- a/templates/web/fixamingata/report/new/fill_in_details_form.html
+++ b/templates/web/fixamingata/report/new/fill_in_details_form.html
@@ -1,5 +1,9 @@
<div id="report-a-problem-main">
- <h1>[% loc('Reporting a problem') %]</h1>
+ <h1>[% loc('Report your problem') %]</h1>
+
+ [% IF report.used_map %]
+ <p class="change_location">[% loc('Wrong location? Just click again on the map.') %]</p>
+ [% END %]
[% IF js %]
<p id="councils_text">
@@ -15,17 +19,12 @@
[% PROCESS 'report/new/councils_text.html' %]
[% END %]
- [% IF c.cobrand.moniker != 'fixmybarangay' || ( c.user && c.user.from_council ) %]
<div id="report-a-problem-sidebar">
- <!--
- The text for this section needs checking, but I can't work out which bit comes from where
- -->
<div class="sidebar-tips">
[% 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 green pin on the map. If this is not the correct location, simply click on the map again. ') %]</p>
[% END %]
<p>
@@ -42,7 +41,6 @@
</div>
</div>
- [% END %]
[% INCLUDE 'errors.html' %]
<fieldset>
diff --git a/templates/web/fixmystreet/report/new/fill_in_details_form.html b/templates/web/fixmystreet/report/new/fill_in_details_form.html
index 6e64b8d1b..7dfadb018 100644
--- a/templates/web/fixmystreet/report/new/fill_in_details_form.html
+++ b/templates/web/fixmystreet/report/new/fill_in_details_form.html
@@ -1,7 +1,7 @@
<div id="report-a-problem-main">
<h1>[% loc('Report your problem') %]</h1>
- [% IF c.cobrand.moniker == 'fixmystreet' %]
+ [% IF report.used_map %]
<p class="change_location">[% loc('Wrong location? Just click again on the map.') %]</p>
[% END %]
@@ -24,12 +24,8 @@
[% IF c.cobrand.moniker != "fixmystreet" && (c.cobrand.moniker != 'fixmybarangay' || ( c.user && c.user.from_body ) ) %]
<div id="report-a-problem-sidebar">
<div class="sidebar-tips">
- [% 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 green pin on the map. If this is not the correct location, simply click on the map again. ') %]</p>
+ [% IF report.used_map AND 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>