aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJon Kristensen <info@jonkri.com>2014-08-31 21:14:21 +0200
committerMatthew Somerville <matthew@mysociety.org>2015-02-16 14:55:49 +0000
commit20bf39caf4d669aa51e289704388b8e696a45810 (patch)
tree0e2c4016044bfe1b1fd56c70f67d95806b7220f4 /templates
parent8d531702431d9c07c10ff4aac96584a6c2abf946 (diff)
[FixaMinGata] Rephrase text for no body details.
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/report/new/councils_text_none.html16
-rw-r--r--templates/web/fixamingata/report/new/councils_text_none.html22
2 files changed, 24 insertions, 14 deletions
diff --git a/templates/web/base/report/new/councils_text_none.html b/templates/web/base/report/new/councils_text_none.html
index 9293c03a7..684879590 100644
--- a/templates/web/base/report/new/councils_text_none.html
+++ b/templates/web/base/report/new/councils_text_none.html
@@ -1,28 +1,16 @@
-<p>[%
+<p>
+[%
nget(
"We do not yet have details for the council that covers this location.",
"We do not yet have details for the councils that cover this location.",
missing_details_bodies.size || all_areas.size
);
-%]
-[%
loc("If you submit a problem here the subject and details of the problem will be public, but the problem will <strong>not</strong> be reported to the council.");
-%]
-[% IF c.cobrand.moniker == 'fixamingata' AND all_body_names.size == 1 %]
-[%
- tprintf(
- "Du kan istället kontakta %s via <a href='%s'>deras webbsida</a>.",
- all_body_names.first, all_body_urls.first);
-%]
-[% ELSE %]
-[%
tprintf(
loc("You can help us by finding a contact email address for local problems for %s and emailing it to us at <a href='mailto:%s'>%s</a>."),
missing_details_body_names.join( loc(' or ') ) || all_area_names.join( loc(' or ') ),
c.cobrand.contact_email,
c.cobrand.contact_email
);
-
%]
-[% END %]
</p>
diff --git a/templates/web/fixamingata/report/new/councils_text_none.html b/templates/web/fixamingata/report/new/councils_text_none.html
new file mode 100644
index 000000000..cdad54f18
--- /dev/null
+++ b/templates/web/fixamingata/report/new/councils_text_none.html
@@ -0,0 +1,22 @@
+<p>
+[% IF all_body_names.size == 1 %]
+[%
+ tprintf(
+ "%s har valt att inte ta emot rapporter från FixaMinGata, utan hänvisar fel- &amp; synpunktsrapportering till <a href='%s'>kommunens egen webbplats</a>.",
+ all_body_names.first, all_body_urls.first);
+%]
+[% END %]
+[%
+ loc("If you submit a problem here the subject and details of the problem will be public, but the problem will <strong>not</strong> be reported to the council.");
+%]
+[% IF all_body_names.size != 1 %]
+[%
+ tprintf(
+ loc("You can help us by finding a contact email address for local problems for %s and emailing it to us at <a href='mailto:%s'>%s</a>."),
+ missing_details_body_names.join( loc(' or ') ) || all_area_names.join( loc(' or ') ),
+ c.cobrand.contact_email,
+ c.cobrand.contact_email
+ );
+%]
+[% END %]
+</p>