diff --git a/opentech/apply/activity/templates/messages/email/determination.html b/opentech/apply/activity/templates/messages/email/determination.html index ea4f1b343d5aba599887baa0bcbc75b07c532f1e..221aaa0df1921c3d09dc7777e82ba2131884a633 100644 --- a/opentech/apply/activity/templates/messages/email/determination.html +++ b/opentech/apply/activity/templates/messages/email/determination.html @@ -6,7 +6,15 @@ {% block content %} Your application has been reviewed and the outcome is: {{ determination.clean_outcome }} -{{ determination.message|bleach }} +{{ determination.message|bleach|striptags }} -Read the complete determination here: {{ request.scheme }}://{{ request.get_host }}{{ determination.get_absolute_url }} +{% for group in determination.detailed_data.values %} +{{ group.title }} +{% for question, answer in group.questions %} +{% if answer %}{{ question }}: +{{ answer|bleach|striptags }}{% endif %} +{% endfor %} +{% endfor %} + +Read the determination here: {{ request.scheme }}://{{ request.get_host }}{{ determination.get_absolute_url }} {% endblock %}