aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>