diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-11-20 16:40:53 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-11-26 12:49:23 +0000 |
commit | eb2aba46eabc8d90656b760cf4900f56119de9ca (patch) | |
tree | afdf23b1a49424aa0c46019f8354f46b778dcf5c /templates | |
parent | d04d807989eaedb1bd46d08bf80e1b42ed7800ae (diff) |
Store all moderation change history in database.
Currently keeping the same front end functionality of only reverting to
the original.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/email/default/problem-moderated.html | 4 | ||||
-rw-r--r-- | templates/email/default/problem-moderated.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/email/default/problem-moderated.html b/templates/email/default/problem-moderated.html index 1a12446d0..142f27fc2 100644 --- a/templates/email/default/problem-moderated.html +++ b/templates/email/default/problem-moderated.html @@ -25,8 +25,8 @@ the team at <a href="[% report_complain_uri %]">[% report_complain_uri %]</a></p [% end_padded_box %] </th> [% WRAPPER '_email_sidebar.html' object = problem %] - <h2 style="[% h2_style %]">[% problem.moderation_original_data.title | html %]</h2> - <p style="[% secondary_p_style %]">[% problem.moderation_original_data.detail | html %]</p> + <h2 style="[% h2_style %]">[% moderated_data.title | html %]</h2> + <p style="[% secondary_p_style %]">[% moderated_data.detail | html %]</p> [% END %] [% INCLUDE '_email_bottom.html' %] diff --git a/templates/email/default/problem-moderated.txt b/templates/email/default/problem-moderated.txt index 7c1c3b5c2..ee219672f 100644 --- a/templates/email/default/problem-moderated.txt +++ b/templates/email/default/problem-moderated.txt @@ -15,11 +15,11 @@ The following data has been changed: Your report had the title: -[% problem.moderation_original_data.title %] +[% moderated_data.title %] And details: -[% problem.moderation_original_data.detail %] +[% moderated_data.detail %] [% UNLESS types == 'hide' %] You can see the report at [% report_uri %] |