diff options
author | Marius Halden <marius.h@lden.org> | 2021-10-07 13:32:40 +0200 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2021-10-07 13:32:40 +0200 |
commit | 09dacfc6b8bf62addeee16c20b1d90c2a256da96 (patch) | |
tree | 7caa2bf9e92227ab74448f9b746dd28bbcb81b2a /templates/email/default/submit.html | |
parent | 585e57484f9c6332668bf1ac0a6a3b39dbe32223 (diff) | |
parent | cea89fb87a96943708a1db0f646492fbfaaf000f (diff) |
Merge tag 'v3.1' into fiksgatami-devfiksgatami-dev
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"> |