diff options
Diffstat (limited to 'templates/web/default/contact')
-rw-r--r-- | templates/web/default/contact/blurb.html | 9 | ||||
-rw-r--r-- | templates/web/default/contact/index.html | 101 | ||||
-rw-r--r-- | templates/web/default/contact/submit.html | 20 | ||||
-rw-r--r-- | templates/web/default/contact/who.html | 0 |
4 files changed, 0 insertions, 130 deletions
diff --git a/templates/web/default/contact/blurb.html b/templates/web/default/contact/blurb.html deleted file mode 100644 index 22c9a3cef..000000000 --- a/templates/web/default/contact/blurb.html +++ /dev/null @@ -1,9 +0,0 @@ -<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 deleted file mode 100644 index 8789fd03e..000000000 --- a/templates/web/default/contact/index.html +++ /dev/null @@ -1,101 +0,0 @@ -[% INCLUDE 'header.html', - title = loc('Contact Us') - robots = 'noindex,nofollow' -%] - -<h1>[% loc('Contact the team') %]</h1> - -<form method="post" action="/contact/submit" class="validate"> - -[% INCLUDE 'errors.html' %] - -[% IF update %] - - <p> - [% loc('You are reporting the following update for being abusive, containing personal information, or similar:') %] - </p> - - <blockquote> - <p> - [% IF update.anonymous %] - [% tprintf( loc('Update below added anonymously at %s'), prettify_dt( update.confirmed ) ) %] - [% ELSE %] - [% tprintf( loc('Update below added by %s at %s'), update.name, prettify_dt( update.confirmed ) ) | html %] - [% END %] - </p> - - <p> - [% update.text | html %] - </p> - - </blockquote> - <input type="hidden" name="update_id" value="[% update.id %]"> - <input type="hidden" name="id" value="[% update.problem_id %]"> - -[% ELSIF problem %] - <p> - [% loc('You are reporting the following problem report for being abusive, containing personal information, or similar:') %] - </p> - - <blockquote> - <h2>[% problem.title_safe | html %]</h2> - - <p> - [% IF problem.anonymous %] - [% tprintf( loc('Reported anonymously at %s'), prettify_dt( problem.confirmed ) ) %] - [% ELSE %] - [% tprintf( loc('Reported by %s at %s'), problem.user.name, prettify_dt( problem.confirmed ) ) | html %] - [% END %] - </p> - - <p> - [% problem.detail | html %] - </p> - - </blockquote> - <input type="hidden" name="id" value="[% problem.id %]"> - -[% ELSE %] - - [% INCLUDE 'contact/blurb.html' %] - -[% END %] - -[% IF field_errors.name %] - <div class="form-error">[% field_errors.name %]</div> -[% END %] -<div class="form-field"> -<label for="form_name">[% loc('Your name:') %]</label> -<input type="text" class="required" name="name" id="form_name" value="[% form_name | html %]" size="30"></div> - - -[% IF field_errors.em %] - <div class="form-error">[% field_errors.em %]</div> -[% END %] -<div class="form-field"> -<label for="form_email">[% loc('Your email:') %]</label> -<input type="text" class="required email" name="em" id="form_email" value="[% em | html %]" size="30"></div> - -[% IF field_errors.subject %] - <div class="form-error">[% field_errors.subject %]</div> -[% END %] -<div class="form-field"> -<label for="form_subject">[% loc('Subject:') %]</label> -<input type="text" class="required" name="subject" id="form_subject" value="[% subject | html %]" size="30"></div> - -[% INCLUDE 'contact/who.html' %] - -[% IF field_errors.message %] - <div class="form-error">[% field_errors.message %]</div> -[% END %] -<div class="form-field"> -<label for="form_message">[% loc('Message:') %]</label> - -<textarea class="required" name="message" id="form_message" rows="7" cols="50">[% message | html %]</textarea></div> -<div class="checkbox"><input type="submit" value="[% loc('Post') %]"></div> - -</form> - -[% TRY %][% INCLUDE 'contact/address.html' %][% CATCH file %][% END %] - -[% INCLUDE 'footer.html' %] diff --git a/templates/web/default/contact/submit.html b/templates/web/default/contact/submit.html deleted file mode 100644 index 3845e9210..000000000 --- a/templates/web/default/contact/submit.html +++ /dev/null @@ -1,20 +0,0 @@ -[% INCLUDE 'header.html', title = loc('Contact Us') %] - -<h1>[% loc('Contact the team') %]</h1> - -[% IF success %] - - <p> - [% loc("Thanks for your feedback. We'll get back to you as soon as we can!") %] - </p> - [% display_crosssell_advert( em, form_name, 'emailunvalidated', 1 ) %] - -[% ELSE %] - - <p> - [% tprintf( loc('Failed to send message. Please try again, or <a href="mailto:%s">email us</a>.'), contact_email ) %] - </p> - -[% END %] - -[% INCLUDE 'footer.html' %] diff --git a/templates/web/default/contact/who.html b/templates/web/default/contact/who.html deleted file mode 100644 index e69de29bb..000000000 --- a/templates/web/default/contact/who.html +++ /dev/null |