diff options
-rw-r--r-- | templates/web/default/contact/address.html | 11 | ||||
-rw-r--r-- | templates/web/default/contact/blurb.html | 9 | ||||
-rw-r--r-- | templates/web/default/contact/index.html | 25 | ||||
-rw-r--r-- | templates/web/emptyhomes/contact/address.html | 0 | ||||
-rw-r--r-- | templates/web/emptyhomes/contact/blurb.html | 3 |
5 files changed, 26 insertions, 22 deletions
diff --git a/templates/web/default/contact/address.html b/templates/web/default/contact/address.html new file mode 100644 index 000000000..b7ff37e5c --- /dev/null +++ b/templates/web/default/contact/address.html @@ -0,0 +1,11 @@ +<div class="contact-details"> +<p>FixMyStreet is a service provided by mySociety, which is the project of a +registered charity. The charity is called UK Citizens Online Democracy and is charity number 1076346.</p> +<p>mySociety can be contacted by email at <a href="mailto:hello@mysociety.org">hello@mysociety.org</a>, +or by post at:</p> +<p>mySociety<br> +483 Green Lanes<br> +London<br> +N13 4BS<br> +UK</p> +</div> diff --git a/templates/web/default/contact/blurb.html b/templates/web/default/contact/blurb.html new file mode 100644 index 000000000..22c9a3cef --- /dev/null +++ b/templates/web/default/contact/blurb.html @@ -0,0 +1,9 @@ +<p> +[% loc('Please do <strong>not</strong> report problems through this form; messages go to +the team behind FixMyStreet, not a council. To report a problem, +please <a href="/">go to the front page</a> and follow the instructions.') %] +</p> + +<p> +[% tprintf( loc("We'd love to hear what you think about this site. Just fill in the form, or send an email to <a href='mailto:%s'>%s</a>:"), contact_email, contact_email) %] +</p> diff --git a/templates/web/default/contact/index.html b/templates/web/default/contact/index.html index e76724d1b..80b71c6b0 100644 --- a/templates/web/default/contact/index.html +++ b/templates/web/default/contact/index.html @@ -62,17 +62,10 @@ [% IF id %] <input type="hidden" name="id" value="[% id %]"> [% END %] -<p> -[% loc('Please do <strong>not</strong> report problems through this form; messages go to -the team behind FixMyStreet, not a council. To report a problem, -please <a href="/">go to the front page</a> and follow the instructions.') %] -</p> -[% END %] -<p> -[% tprintf( loc("We'd love to hear what you think about this site. Just fill in the form, or send an email to <a href='mailto:%s'>%s</a>:"), contact_email, contact_email) %] -</p> +[% INCLUDE 'contact/blurb.html' %] +[% END %] [% IF field_errors.name %] <div class="form-error">[% field_errors.name %]</div> @@ -107,18 +100,6 @@ please <a href="/">go to the front page</a> and follow the instructions.') %] </form> -<div class="contact-details"> -<p>FixMyStreet is a service provided by mySociety, which is the project of a -registered charity. The charity is called UK Citizens Online Democracy and is charity number 1076346.</p> -<p>mySociety can be contacted by email at <a href="mailto:hello@mysociety.org">hello@mysociety.org</a>, -or by post at:</p> -<p>mySociety<br> -483 Green Lanes<br> - -London<br> -N13 4BS<br> -UK</p> -</div> - +[% INCLUDE 'contact/address.html' %] [% INCLUDE 'footer.html' %] diff --git a/templates/web/emptyhomes/contact/address.html b/templates/web/emptyhomes/contact/address.html new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/templates/web/emptyhomes/contact/address.html diff --git a/templates/web/emptyhomes/contact/blurb.html b/templates/web/emptyhomes/contact/blurb.html new file mode 100644 index 000000000..f1a2aa611 --- /dev/null +++ b/templates/web/emptyhomes/contact/blurb.html @@ -0,0 +1,3 @@ +<p> +[% loc('We’d love to hear what you think about this website. Just fill in the form. Please don’t contact us about individual empty homes; use the box accessed from <a href="/">the front page</a>.') %] +</p> |