Skip to content
Snippets Groups Projects
Unverified Commit 09c7aff7 authored by Fredrik Jonsson's avatar Fredrik Jonsson Committed by GitHub
Browse files

Merge pull request #1732 from OpenTechFund/enhancement/remove-sensitive-info-from-email

Remove sensitive information from determination and comments e-mails.
parents 269e1b8b dff44b1c
No related branches found
No related tags found
No related merge requests found
{% extends "messages/email/base.html" %}
{% 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 issues accessing the submission system or other general inquiries, please email us at {{ ORG_EMAIL }}
......
{% 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 @@
{{ determination.message|bleach|striptags }}
{% 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 %}
Read the full 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