diff options
4 files changed, 7 insertions, 2 deletions
diff --git a/templates/email/buckinghamshire/_council_reference.html b/templates/email/buckinghamshire/_council_reference.html index b8f72c8f9..56944f954 100644 --- a/templates/email/buckinghamshire/_council_reference.html +++ b/templates/email/buckinghamshire/_council_reference.html @@ -1,2 +1,4 @@ +[% IF problem.external_id ~%] <p style="[% p_style %]">The report's reference number is <strong>[% problem.external_id %]</strong>. Please quote this if you need to contact the council about this report.</p> +[%~ END %] diff --git a/templates/email/buckinghamshire/_council_reference.txt b/templates/email/buckinghamshire/_council_reference.txt index 3c92f3666..3dd3f1e9f 100644 --- a/templates/email/buckinghamshire/_council_reference.txt +++ b/templates/email/buckinghamshire/_council_reference.txt @@ -1,2 +1,2 @@ -The report's reference number is [% problem.external_id %]. Please quote this if -you need to contact the council about this report. +[% IF problem.external_id %]The report's reference number is [% problem.external_id %]. Please quote this if +you need to contact the council about this report.[% END %] diff --git a/templates/email/buckinghamshire/alert-update.html b/templates/email/buckinghamshire/alert-update.html index d8d857c26..48e6871c2 100644 --- a/templates/email/buckinghamshire/alert-update.html +++ b/templates/email/buckinghamshire/alert-update.html @@ -21,6 +21,7 @@ INCLUDE '_email_top.html'; [% WRAPPER '_email_sidebar.html' object = report %] <h2 style="[% h2_style %]">[% title | html %]</h2> <p style="[% secondary_p_style %]">[% report.detail | html %]</p> + [%~ INCLUDE '_council_reference.html' problem=report p_style=secondary_p_style %] [% END %] [% INCLUDE '_email_bottom.html' %] diff --git a/templates/email/buckinghamshire/alert-update.txt b/templates/email/buckinghamshire/alert-update.txt index 159f0abe7..a77f3a2a0 100644 --- a/templates/email/buckinghamshire/alert-update.txt +++ b/templates/email/buckinghamshire/alert-update.txt @@ -13,6 +13,8 @@ If you would like to view or reply to these updates, please visit the following [% problem_url %] +[% INCLUDE '_council_reference.txt' problem=report %] + This email was sent automatically, from an unmonitored email account - so please do not reply to it. |