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 /templates | |
parent | 99f821a9a8fb17fb100cfd99f895efedc2b9aedd (diff) |
[Buckinghamshire] Update contact email address; hide address on contact page
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/contact/index.html | 14 | ||||
-rw-r--r-- | templates/web/buckinghamshire/contact/_footer.html | 5 |
2 files changed, 14 insertions, 5 deletions
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> |