Skip to content

Commit c174a4f

Browse files
committed
sharer
1 parent fb59670 commit c174a4f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/notifications-library/src/notifications_library/templates/on_share_project.email.content.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
{% block content %}
44
<p>Dear {{ user.first_name }},</p>
55

6-
<p>Great news! {{ sharer_username }} has shared a {{ product.ui.project_alias }} with you on {{ product.display_name }}.</p>
6+
<p>Great news! {{ sharer.user_name }} has shared a {{ product.ui.project_alias }} with you on {{ product.display_name }}.</p>
77

88
<p>To view the {{ product.ui.project_alias }} and accept the sharing, follow below:</p>
99

1010
<p>
11-
{% if sharer_message %}
11+
{% if sharer.message %}
1212
<div style="border: 1px solid #ccc; padding: 16px; border-radius: 8px; background-color: #f9f9f9;">
13-
<p style="margin-top: 0;">{{ sharer_message }}</p>
13+
<p style="margin-top: 0;">{{ sharer.message }}</p>
1414
<button class="strong-button" style="border-radius: 4px;">
1515
<a href="{{ accept_link }}" style="color: white;">Open</a>
1616
</button>

packages/notifications-library/src/notifications_library/templates/on_share_project.email.content.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Dear {{ user.first_name }},
22

3-
Great news! {{ sharer_username }} has shared a {{ product.ui.project_alias }} with you on {{ product.display_name }}.
3+
Great news! {{ sharer.user_name }} has shared a {{ product.ui.project_alias }} with you on {{ product.display_name }}.
44

55
To view the {{ product.ui.project_alias }} and accept the sharing, follow below:
66

7-
{{ sharer_message }}
7+
{{ sharer.message }}
88
{{ accept_link }}
99

1010
Please don't hesitate to contact us at {{ product.support_email }} if you need further help.

0 commit comments

Comments
 (0)