diff options
author | Dave Arter <davea@mysociety.org> | 2018-03-29 10:00:49 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-04-03 12:44:25 +0100 |
commit | 0c80982326dba6e9fcf6c71cdcf18ccab17f68a1 (patch) | |
tree | bb2b1b777d10c9bb58a3231e339e416df1a7542b | |
parent | 99f821a9a8fb17fb100cfd99f895efedc2b9aedd (diff) |
[Buckinghamshire] Update contact email address; hide address on contact page
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Buckinghamshire.pm | 2 | ||||
-rw-r--r-- | templates/web/base/contact/index.html | 14 | ||||
-rw-r--r-- | templates/web/buckinghamshire/contact/_footer.html | 5 |
3 files changed, 15 insertions, 6 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm b/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm index b4357a05e..e57df5997 100644 --- a/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm +++ b/perllib/FixMyStreet/Cobrand/Buckinghamshire.pm @@ -42,7 +42,7 @@ sub pin_colour { sub contact_email { my $self = shift; - return join( '@', 'pjparfitt', 'buckscc.gov.uk' ); + return join( '@', 'maverill', 'buckscc.gov.uk' ); } sub send_questionnaires { diff --git a/templates/web/base/contact/index.html b/templates/web/base/contact/index.html index dfd3ef6b2..1839b4c85 100644 --- a/templates/web/base/contact/index.html +++ b/templates/web/base/contact/index.html @@ -109,11 +109,15 @@ </fieldset> </form> -<h4>[% loc("Don't like forms?") %]</h4> - -<p> -[% tprintf( loc("You can contact technical support on <a href='mailto:%s'>%s</a>"), contact_email, contact_email) %] -</p> +[% TRY %] + [% INCLUDE 'contact/_footer.html' %] +[% CATCH file %] + <h4>[% loc("Don't like forms?") %]</h4> + + <p> + [% tprintf( loc("You can contact technical support on <a href='mailto:%s'>%s</a>"), contact_email, contact_email) %] + </p> +[% END %] [% TRY %][% INCLUDE 'contact/address.html' %][% CATCH file %][% END %] diff --git a/templates/web/buckinghamshire/contact/_footer.html b/templates/web/buckinghamshire/contact/_footer.html new file mode 100644 index 000000000..80cc1aa22 --- /dev/null +++ b/templates/web/buckinghamshire/contact/_footer.html @@ -0,0 +1,5 @@ +<h4>[% loc("Don't like forms?") %]</h4> + +<p> +You can <a href="mailto:[% contact_email %]">email technical support directly</a>. +</p> |