Skip to content

Commit ac1f9f9

Browse files
authored
E-mail template whitespace improvements (#4551)
1 parent 689582d commit ac1f9f9

File tree

3 files changed

+8
-14
lines changed

3 files changed

+8
-14
lines changed

hypha/apply/activity/templates/messages/email/base.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
{% block more_info %}{% endblock %}
77

8-
{% blocktrans %}Kind Regards,
9-
The {{ ORG_SHORT_NAME }} Team{% endblocktrans %}
8+
{# fmt:off #}{% blocktrans %}Kind Regards,
9+
The {{ org_short_name }} Team{% endblocktrans %}
1010

1111
--
12-
{{ ORG_LONG_NAME }}
12+
{{ org_long_name }}
1313
{% if ORG_URL %}{{ ORG_URL }}{% endif %}
14-
{% block post_signature_content %}{% endblock %}
14+
{% block post_signature_content %}{% endblock %}{# fmt:on #}

hypha/apply/activity/templates/messages/email/invite_co_applicant.html

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
{% extends "messages/email/base.html" %}
22
{% load i18n activity_tags %}
33

4-
{% block salutation %}
5-
{% if invited_user %}
6-
{% blocktrans with name=invited_user.get_display_name %}Dear {{ name }},{% endblocktrans %}
7-
{% else %}
8-
{% blocktrans with name=related.invited_user_email|email_name %}Dear {{ name }},{% endblocktrans %}
9-
{% endif %}
10-
{% endblock %}
4+
{% block salutation %}{% if invited_user %}{% blocktrans with name=invited_user.get_display_name %}Dear {{ name }},{% endblocktrans %}{% else %}{% blocktrans with name=related.invited_user_email|email_name %}Dear {{ name }},{% endblocktrans %}{% endif %}{% endblock %}
115

126
{% block content %}{# fmt:off #}
137
{% blocktrans %}You have been invited as a co-applicant to an application on {{ ORG_SHORT_NAME }} by {{ user }}.{% endblocktrans %}

hypha/apply/users/templates/users/email_change/update_info_email.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
{% blocktrans %}There has been an attempt to change email of your account on the {{ org_long_name }} web site. If this action wasn't made by you, please contact support at {{ org_email }} {% endblocktrans %}
55

66

7-
{% blocktrans %}Kind Regards,
8-
The {{ org_short_name }} Team{% endblocktrans %}
7+
{# fmt:off #}{% blocktrans %}Kind Regards,
8+
The {{ org_short_name }} Team{% endblocktrans %}
99

1010
--
1111
{{ org_long_name }}
12-
{% if site %}{{ site.root_url }}{% else %}{{ base_url }}{% endif %}
12+
{% if site %}{{ site.root_url }}{% else %}{{ base_url }}{% endif %}{# fmt:on #}

0 commit comments

Comments
 (0)