Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{% extends "messages/email/base.html" %}

{% load i18n %}

{# fmt:off #}
{% block pre_salutation %}{% for co_applicant in source.co_applicants.all %}{% if recipient == co_applicant.user.email %}
({% trans "You are receiving this e-mail because you are an co-applicant on this submission." %})
{% endif %}{% endfor %}{% endblock %}
{# fmt:on #}

{% block salutation %}{% blocktrans with name=source.user.get_full_name|default:"applicant" %}Dear {{ name }},{% endblocktrans %}{% endblock %}

{# fmt:off #}
Expand Down
3 changes: 3 additions & 0 deletions hypha/apply/activity/templates/messages/email/base.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{% load i18n %}

{% block pre_salutation %}{% endblock %}

{% block salutation %}{% blocktrans %}Dear {{ user }},{% endblocktrans %}{% endblock %}

{% block content %}{% endblock %}
Expand Down
Loading