Skip to content

Commit 947fa5a

Browse files
committed
Adjust confirmation mail, add style for button
1 parent a73d760 commit 947fa5a

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

bakeup/templates/account/email/base_message.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<mj-column>
88
<mj-text>
99
{% linebreaksbr_block %}
10-
Hallo,
11-
10+
Hallo {{ user.get_full_name }},
11+
{% block pre_content %}{% endblock pre_content %}
1212
{% block content %}{% endblock content %}</mj-text>
1313
{% endlinebreaksbr_block %}
1414
</mj-column>

bakeup/templates/account/email/email_confirmation_message.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
{% load account %}
33
{% load i18n %}
44

5-
{% block content %}{% autoescape off %}Bitte bestätige, dass die E-Mail-Adresse von Dir ist um deinen Account auf {{ current_tenant_domain }} anzulegen:
5+
{% block content %}{% autoescape off %}bitte bestätige deine E-Mail-Adresse, um dein Konto bei <strong>{{ current_tenant.name }}</strong> anzulegen:
66

7-
{{ activate_url }}{% endautoescape %}{% endblock %}
7+
<mj-button href="{{ activate_url }}">E-Mail-Adresse bestätigen</mj-button>
8+
9+
<mj-text>Falls der Button nicht funktioniert, kopiere bitte diesen Link in die Adresszeile deines Browsers:</mj-text>
10+
{{ activate_url }}
11+
12+
{% endautoescape %}{% endblock %}

bakeup/templates/newsletter/mail/base_email.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
<mj-section background-color="#fff" />
6767
<mj-text font-size="16px" />
6868
<mj-all font-family="Quattrocento, Times, 'Times New Roman'" line-height="1.5"/>
69+
<mj-button background-color="{% if brand_settings.is_brand_theme_activated and brand_settings.primary_color %}{{ brand_settings.primary_color }}{% else %}#000000{% endif %}" color="#ffffff" font-size="16px" padding="15px 30px" border-radius="5px" />
6970
</mj-attributes>
7071
{% block email_head %}
7172
{% endblock email_head %}

0 commit comments

Comments
 (0)