diff options
author | Jon Kristensen <info@jonkri.com> | 2014-03-01 23:10:38 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2014-03-11 17:32:55 +0000 |
commit | c44317e640cfe9dd766f09598873d8b96db2414a (patch) | |
tree | b6c20473440f452399dd137412757186d9165591 /templates | |
parent | cf20c709e13af0909620ac5387b7d070b66b8c52 (diff) |
Add `external_url' column to `body' table.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/default/report/new/councils_text_none.html | 11 | ||||
-rw-r--r-- | templates/web/fixamingata/report/new/notes.html | 5 |
2 files changed, 15 insertions, 1 deletions
diff --git a/templates/web/default/report/new/councils_text_none.html b/templates/web/default/report/new/councils_text_none.html index 3c445b085..9293c03a7 100644 --- a/templates/web/default/report/new/councils_text_none.html +++ b/templates/web/default/report/new/councils_text_none.html @@ -8,6 +8,13 @@ [% 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>."), @@ -16,4 +23,6 @@ c.cobrand.contact_email ); -%]</p> +%] +[% END %] +</p> diff --git a/templates/web/fixamingata/report/new/notes.html b/templates/web/fixamingata/report/new/notes.html index d508b1929..8f081f637 100644 --- a/templates/web/fixamingata/report/new/notes.html +++ b/templates/web/fixamingata/report/new/notes.html @@ -5,5 +5,10 @@ <li>[% loc("Please be polite, concise and to the point.") %]</li> <li>[% loc("Please do not be abusive — abusing your council devalues the service for all users.") %]</li> <li>[% loc("Writing your message entirely in block capitals makes it hard to read, as does a lack of punctuation.") %]</li> +[% IF all_councils.items.first > 0 %] + <li>[% id = all_councils.items.first; + tprintf("Kom ihåg att FixaMinGata primärt är avsett för att rapportera fysiska problem som kan åtgärdas. Om ditt problem inte lämpar sig för att rapportera via den här webbsidan kan du kontakta din kommun direkt via <a href='%s'>deras webbsida</a>.", all_body_urls.$id); %]</li> +[% ELSE %] <li>[% loc("Remember that FixMyStreet is primarily for reporting physical problems that can be fixed. If your problem is not appropriate for submission via this site remember that you can contact your council directly using their own website.") %]</li> +[% END %] </ul> |