aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/FixMyStreet/Cobrand/Default.pm8
-rw-r--r--perllib/FixMyStreet/Cobrand/FiksGataMi.pm4
-rw-r--r--templates/web/default/questionnaire/completed-open.html5
-rw-r--r--templates/web/default/questionnaire/completed.html7
-rw-r--r--templates/web/fiksgatami/questionnaire/completed-open.html6
-rw-r--r--templates/web/fixmystreet/questionnaire/completed-open.html6
6 files changed, 18 insertions, 18 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm
index 1f4cea87a..c3fd8a287 100644
--- a/perllib/FixMyStreet/Cobrand/Default.pm
+++ b/perllib/FixMyStreet/Cobrand/Default.pm
@@ -102,14 +102,6 @@ Base URL for the admin interface.
sub admin_base_url { '' }
-=head2 writetothem_url
-
-URL for writetothem; parameter is COBRAND_DATA.
-
-=cut
-
-sub writetothem_url { 0 }
-
=head2 base_url
Return the base url for the cobranded version of the site
diff --git a/perllib/FixMyStreet/Cobrand/FiksGataMi.pm b/perllib/FixMyStreet/Cobrand/FiksGataMi.pm
index 7dcd91710..85ebf035e 100644
--- a/perllib/FixMyStreet/Cobrand/FiksGataMi.pm
+++ b/perllib/FixMyStreet/Cobrand/FiksGataMi.pm
@@ -41,10 +41,6 @@ sub admin_base_url {
return 'http://www.fiksgatami.no/admin/';
}
-sub writetothem_url {
- return 'http://www.norge.no/styresmakter/';
-}
-
# If lat/lon are present in the URL, OpenLayers will use that to centre the map.
# Need to specify a zoom to stop it defaulting to null/0.
sub uri {
diff --git a/templates/web/default/questionnaire/completed-open.html b/templates/web/default/questionnaire/completed-open.html
new file mode 100644
index 000000000..7c5469259
--- /dev/null
+++ b/templates/web/default/questionnaire/completed-open.html
@@ -0,0 +1,5 @@
+[% loc('<p style="font-size:150%">We&rsquo;re sorry to hear that. We have two
+suggestions: why not try writing to your local representative or, if it&rsquo;s
+a problem that could be fixed by local people working together, why not
+<a href="http://www.pledgebank.com/new">make and publicise a pledge</a>?
+</p>') %]
diff --git a/templates/web/default/questionnaire/completed.html b/templates/web/default/questionnaire/completed.html
index fe896b383..a125d48bd 100644
--- a/templates/web/default/questionnaire/completed.html
+++ b/templates/web/default/questionnaire/completed.html
@@ -12,12 +12,7 @@ site and leave an update.</p>') %]
[% ELSIF new_state == 'confirmed' OR (!new_state AND problem.is_open) %]
-[% tprintf( loc('<p style="font-size:150%%">We&rsquo;re sorry to hear that. We have two suggestions: why not try
-<a href="%s">writing direct to your councillor(s)</a>
-or, if it&rsquo;s a problem that could be fixed by local people working together,
-why not <a href="http://www.pledgebank.com/new">make and publicise a pledge</a>?
-</p>'), c.cobrand.writetothem_url || 'http://www.writetothem.com/' ) %]
-
+[% INCLUDE 'questionnaire/completed-open.html' %]
[% advert_outcome = 0 %]
[% ELSE %]
diff --git a/templates/web/fiksgatami/questionnaire/completed-open.html b/templates/web/fiksgatami/questionnaire/completed-open.html
new file mode 100644
index 000000000..72fa507b2
--- /dev/null
+++ b/templates/web/fiksgatami/questionnaire/completed-open.html
@@ -0,0 +1,6 @@
+[% loc('<p style="font-size:150%">We&rsquo;re sorry to hear that. We have two
+suggestions: why not try <a href="http://www.norge.no/styresmakter/">writing
+direct to your councillor(s)</a> or, if it&rsquo;s a problem that could be
+fixed by local people working together, why not
+<a href="http://www.pledgebank.com/new">make and publicise a pledge</a>?
+</p>') %]
diff --git a/templates/web/fixmystreet/questionnaire/completed-open.html b/templates/web/fixmystreet/questionnaire/completed-open.html
new file mode 100644
index 000000000..2bb3bad1f
--- /dev/null
+++ b/templates/web/fixmystreet/questionnaire/completed-open.html
@@ -0,0 +1,6 @@
+[% loc('<p style="font-size:150%">We&rsquo;re sorry to hear that. We have two
+suggestions: why not try <a href="http://www.writetothem.com/">writing direct
+to your councillor(s)</a> or, if it&rsquo;s a problem that could be fixed by
+local people working together, why not
+<a href="http://www.pledgebank.com/new">make and publicise a pledge</a>?
+</p>' ) %]