diff --git a/opentech/apply/activity/templates/messages/email/determination.html b/opentech/apply/activity/templates/messages/email/determination.html index b22b6e6211d2a3afd88b116f82bab557322c28e7..b4bee91feb90e870f0e8a1c2b522380b0bda5f2f 100644 --- a/opentech/apply/activity/templates/messages/email/determination.html +++ b/opentech/apply/activity/templates/messages/email/determination.html @@ -7,10 +7,12 @@ {% block post_signature_content %} -{% for group in submission.determination.detailed_data.values %} - {% for question, answer in group.questions %} - <h5>{{ question }}</h5> - {% if answer %}{{ answer|bleach }}{% else %}-{% endif %} +{% if submission.determination.submitted %} + {% for group in submission.determination.detailed_data.values %} + {% for question, answer in group.questions %} + <h5>{{ question }}</h5> + {% if answer %}{{ answer|bleach }}{% else %}-{% endif %} + {% endfor %} {% endfor %} -{% endfor %} +{% endif %} {% endblock %}