diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-12-07 12:45:37 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-12-07 12:45:50 +0000 |
commit | 90d6f9e5dde5509b8efda321548e347b936359b7 (patch) | |
tree | f38e39a41ddb3c7b3d650bb48cdaebbae9e4486f | |
parent | 9fad557d1c2cb8e759db43505419f824f6b526d6 (diff) |
A few easy Zurich front page tweaks.
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Zurich.pm | 16 | ||||
-rw-r--r-- | templates/web/default/index-steps.html | 1 | ||||
-rw-r--r-- | templates/web/zurich/around/intro.html | 1 |
3 files changed, 18 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Zurich.pm b/perllib/FixMyStreet/Cobrand/Zurich.pm new file mode 100644 index 000000000..e5d646c8b --- /dev/null +++ b/perllib/FixMyStreet/Cobrand/Zurich.pm @@ -0,0 +1,16 @@ +package FixMyStreet::Cobrand::Zurich; +use base 'FixMyStreet::Cobrand::Default'; + +use strict; +use warnings; + +sub enter_postcode_text { + my ( $self ) = @_; + return _('Enter a Zürich street name'); +} + +sub example_places { + return [ 'Langstrasse', 'Basteiplatz' ]; +} + +1; diff --git a/templates/web/default/index-steps.html b/templates/web/default/index-steps.html index 7129241d2..8a83abf07 100644 --- a/templates/web/default/index-steps.html +++ b/templates/web/default/index-steps.html @@ -11,6 +11,7 @@ <li>[% loc('Enter details of the problem') %]</li> [% IF c.cobrand.is_council %] <li>Confirm the report and [% c.cobrand.council_name %] will investigate</li> + [% ELSIF c.cobrand.moniker == 'zurich' %] [% ELSE %] <li>[% loc('We send it to the council on your behalf') %]</li> [% END %] diff --git a/templates/web/zurich/around/intro.html b/templates/web/zurich/around/intro.html new file mode 100644 index 000000000..a23a629d8 --- /dev/null +++ b/templates/web/zurich/around/intro.html @@ -0,0 +1 @@ + <h1>[% loc('Report local problems') %]</h1> |