aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/contact/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/contact/index.html')
-rw-r--r--templates/web/base/contact/index.html19
1 files changed, 11 insertions, 8 deletions
diff --git a/templates/web/base/contact/index.html b/templates/web/base/contact/index.html
index 326c26ce8..f71c36fb1 100644
--- a/templates/web/base/contact/index.html
+++ b/templates/web/base/contact/index.html
@@ -1,3 +1,6 @@
+[% extra_js = [
+ version('/js/contact.js')
+] -%]
[% INCLUDE 'header.html',
title = loc('Contact Us')
robots = 'noindex,nofollow'
@@ -23,16 +26,16 @@
</p>
<blockquote>
- <p>
+ <cite>
[% 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>
+ </cite>
<p>
- [% update.text | html %]
+ [%~ update.text | html ~%]
</p>
</blockquote>
@@ -50,16 +53,16 @@
<blockquote>
<h2>[% problem.title_safe | html %]</h2>
- <p>
+ <cite>
[% 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>
+ </cite>
<p>
- [% problem.detail | html %]
+ [%~ problem.detail | html ~%]
</p>
</blockquote>
@@ -71,6 +74,8 @@
[% END %]
+ [% INCLUDE 'contact/who.html' %]
+
<label for="form_name">[% loc('Your name') %]</label>
[% IF field_errors.name %]
<div class="form-error">[% field_errors.name %]</div>
@@ -95,8 +100,6 @@
[% END %]
<input type="text" class="form-control required" name="subject" id="form_subject" value="[% subject | html %]" size="30">
- [% INCLUDE 'contact/who.html' %]
-
<label for="form_message">[% loc('Message') %]</label>
[% IF field_errors.message %]
<div class="form-error">[% field_errors.message %]</div>