diff options
Diffstat (limited to 'templates/email/tfl')
-rw-r--r-- | templates/email/tfl/submit.html | 6 | ||||
-rw-r--r-- | templates/email/tfl/submit.txt | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/templates/email/tfl/submit.html b/templates/email/tfl/submit.html index b7f9bb6df..52c8602f4 100644 --- a/templates/email/tfl/submit.html +++ b/templates/email/tfl/submit.html @@ -51,6 +51,12 @@ 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 %]"><strong>Report reference:</strong> FMS[% report.id %]</p> <p style="[% secondary_p_style %]"><strong>Category:</strong> [% report.category | html %]</p> + [% IF report.get_extra_field_value('stop_code') %] + <p style="[% secondary_p_style %]"><strong>Stop number:</strong> [% report.get_extra_field_value('stop_code') | html %]</p> + [% END %] + [% IF report.get_extra_field_value('site') %] + <p style="[% secondary_p_style %]"><strong>Signal site number:</strong> [% report.get_extra_field_value('site') | html %]</p> + [% END %] <p style="[% secondary_p_style %]">[% report.detail | html %]</p> [%~ IF additional_information %] <p style="[% secondary_p_style %]">[% additional_information %]</p> diff --git a/templates/email/tfl/submit.txt b/templates/email/tfl/submit.txt index c99ed24c2..b6af867ff 100644 --- a/templates/email/tfl/submit.txt +++ b/templates/email/tfl/submit.txt @@ -23,6 +23,10 @@ Report reference: FMS[% report.id %] Category: [% report.category %] +[% IF report.get_extra_field_value('stop_code') %]Stop number: [% report.get_extra_field_value('stop_code') %] +[% END %] +[% IF report.get_extra_field_value('site') %]Signal site number: [% report.get_extra_field_value('site') %] +[% END %] Subject: [% report.title %] Details: [% report.detail %] |