Skip to content
Snippets Groups Projects
Commit dff44b1c authored by Fredrik Jonsson's avatar Fredrik Jonsson
Browse files

Remove sensitive information from determination and comments e-mails.

parent 269e1b8b
No related branches found
Tags v1.21.3
No related merge requests found
{% extends "messages/email/base.html" %} {% extends "messages/email/base.html" %}
{% block salutation %}Dear {{ source.user.get_full_name|default:"applicant" }},{% endblock %} {% block salutation %}Dear {{ source.user.get_full_name|default:"applicant" }},{% endblock %}
{% block more_info %}You can find more information here: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }} {% block more_info %}
You can find more information here: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }}
If you have any questions, please submit them here: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }}#communications If you have any questions, please submit them here: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }}#communications
If you have any issues accessing the submission system or other general inquiries, please email us at {{ ORG_EMAIL }} If you have any issues accessing the submission system or other general inquiries, please email us at {{ ORG_EMAIL }}
......
{% extends "messages/email/applicant_base.html" %} {% extends "messages/email/applicant_base.html" %}
{% block content %}There has been a new comment on "{{ source.title }}" {% block content %}There has been a new comment on "{{ source.title }}" by {{ comment.user }}.
{{ comment.user }}: {{ comment.message }}{% endblock %} Read the full comment here: {{ request.scheme }}://{{ request.get_host }}{{ source.get_absolute_url }}#communications{% endblock %}
{% block more_info %}
If you have any issues accessing the submission system or other general inquiries, please email us at {{ ORG_EMAIL }}
{% endblock %}
...@@ -7,9 +7,4 @@ ...@@ -7,9 +7,4 @@
{{ determination.message|bleach|striptags }} {{ determination.message|bleach|striptags }}
{% for group in determination.detailed_data.values %}{{ group.title }} Read the full determination here: {{ request.scheme }}://{{ request.get_host }}{{ determination.get_absolute_url }}{% endblock %}
{% 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 %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment