diff options
author | M Somerville <matthew-github@dracos.co.uk> | 2020-10-13 12:02:00 +0100 |
---|---|---|
committer | M Somerville <matthew-github@dracos.co.uk> | 2020-10-13 12:02:00 +0100 |
commit | 0188e23f792446926eda1eaadf0dc5d1ad08594e (patch) | |
tree | 721a6c25cd92ec361aced790e146218c7921c7de /templates/email/default/submit.html | |
parent | ea73bc7c2053bf0db3f7ce47bbd1722e79771ba8 (diff) | |
parent | 470d978db885e3ff95e7a8632a94a60b09cef127 (diff) |
Merge branch 'include-extra-qns-in-submit-email'
Diffstat (limited to 'templates/email/default/submit.html')
-rw-r--r-- | templates/email/default/submit.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/email/default/submit.html b/templates/email/default/submit.html index 0fed5770f..e08a31b5a 100644 --- a/templates/email/default/submit.html +++ b/templates/email/default/submit.html @@ -49,6 +49,14 @@ of a local problem that they believe might require your attention.</p> <h2 style="[% h2_style %]">[% report.title | html %]</h2> <p style="[% secondary_p_style %]">[% report.category | html %]</p> <p style="[% secondary_p_style %]">[% report.detail | html %]</p> + [% IF report.get_extra_fields %] + <p style="[% secondary_p_style %]"> + [%~ FOR field IN report.get_extra_fields %][% IF field.value %] + [% field.description %]: [% field.value %] + [% IF NOT loop.last %]<br>[% END %] + [%~ END %][% END %] + </p> + [% END %] <p style="[% secondary_p_style %]"> <strong>Location:</strong> <a href="[% osm_url %]" title="View OpenStreetMap of this location"> |