diff options
Diffstat (limited to 'templates/email/tfl')
-rw-r--r-- | templates/email/tfl/submit.html | 2 | ||||
-rw-r--r-- | templates/email/tfl/submit.txt | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/templates/email/tfl/submit.html b/templates/email/tfl/submit.html index 96186a032..b7f9bb6df 100644 --- a/templates/email/tfl/submit.html +++ b/templates/email/tfl/submit.html @@ -16,6 +16,8 @@ INCLUDE '_email_top.html'; <p style="[% p_style %]">[% multiple %]A user of [% site_name %] has submitted the following report of a local problem that they believe might require your attention.</p> + [% IF report.get_extra_field_value('safety_critical') == 'yes' %]<p>This report is marked as safety critical.</p>[% END %] + <p style="margin: 20px auto; text-align: center"> <a style="[% button_style %]" href="[% url %]">Show full report</a> </p> diff --git a/templates/email/tfl/submit.txt b/templates/email/tfl/submit.txt index 61b5edee8..c99ed24c2 100644 --- a/templates/email/tfl/submit.txt +++ b/templates/email/tfl/submit.txt @@ -1,9 +1,11 @@ -Subject: Problem Report: [% report.title %] +Subject: [% IF report.get_extra_field_value('safety_critical') == 'yes' %]Dangerous [% report.category %][% ELSE %]Problem[% END %] Report: [% report.title %] [% multiple %]A user of [% site_name %] has submitted the following report of a local problem that they believe might require your attention. +[% IF report.get_extra_field_value('safety_critical') == 'yes' %]This report is marked as safety critical.[% END %] + [% fuzzy %], or to provide an update on the problem, please visit the following link: |