diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-12-11 16:27:03 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-12-18 15:48:53 +0000 |
commit | e1c030cfd06f2c2791d3811179040d674692a27e (patch) | |
tree | b46c0249554400bacd56c1f270886704070c3ae1 | |
parent | 8680b7f42145332a28de2150ff4d650d56746036 (diff) |
Improved report/update display on contact form.
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | templates/web/base/contact/index.html | 12 | ||||
-rw-r--r-- | templates/web/bathnes/contact/index.html | 12 |
3 files changed, 13 insertions, 12 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ba77e48c..cdd389ca9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - Don't require two taps on reports list on touchscreens. #2294 - Allow moderation to work without JavaScript. #2339 - More prominent display of "state" on report page #2350 + - Improved report/update display on contact form. #2351 - Admin improvements: - Allow moderation to potentially change category. #2320 - Add Mark/View private reports permission #2306 diff --git a/templates/web/base/contact/index.html b/templates/web/base/contact/index.html index 326c26ce8..8e0894312 100644 --- a/templates/web/base/contact/index.html +++ b/templates/web/base/contact/index.html @@ -23,16 +23,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 +50,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> diff --git a/templates/web/bathnes/contact/index.html b/templates/web/bathnes/contact/index.html index d9947cbec..c6bca0350 100644 --- a/templates/web/bathnes/contact/index.html +++ b/templates/web/bathnes/contact/index.html @@ -25,16 +25,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> @@ -54,16 +54,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> |