Skip to content

Commit 8fb660d

Browse files
authored
imp(email): link to billing (#398)
* imp(email): link to billing * chore(email): update patterns
1 parent f3de074 commit 8fb660d

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

workers/email/src/templates/emails/events-limit-almost-reached/html.twig

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,25 @@
1414
<td align="center" style="padding: 15px 0;">
1515
<font color="#dbe6ff" style="font-size: 15px; text-align: center; color: #dbe6ff; letter-spacing: 0.4px;">
1616
<span style="vertical-align: middle; display: inline-block;">
17-
Warning of the Used Volume
17+
You’re almost out of your error tracking limit
1818
</span>
1919
</font>
2020
</td>
2121
</tr>
2222
<tr>
2323
<td style="display: block; padding: 20px; margin-bottom: 30px; border-width: 1px; border-color: #494f5e; border-style: solid; border-radius: 10px; line-height: 1.47">
2424
<font color="#dbe6ff" style="font-size: 15px; letter-spacing: 0.4px;">
25-
You've used {{ eventsCount }} of {{ eventsLimit }} events available on {{ workspace.name | escape }} workspace.
25+
Youve used {{ eventsCount }} of {{ eventsLimit }} events this month in the {{ workspace.name | escape }} workspace.
2626

27-
Increase used volume and don't miss the new ones.
27+
Your project is growing — that’s awesome! Let’s make sure you don’t miss any important errors.
28+
29+
Upgrade your plan to stay on top of everything.
2830
</font>
2931
</td>
3032
</tr>
3133
<tr>
3234
<td style="padding-right: 20px; padding-left: 20px; padding-bottom: 40px;">
33-
{% include '../../components/button.twig' with {href: host ~ '/workspace/' ~ workspace._id ~ '/settings/volume', label: 'Go to event usage settings'} %}
35+
{% include '../../components/button.twig' with {href: host ~ '/workspace/' ~ workspace._id ~ '/settings/billing', label: 'Increase limit — from 99₽'} %}
3436
</td>
3537
</tr>
3638
{% endblock %}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Warning of the Used Volume for workspace {{ workspace.name | escape }}!
1+
You’re almost out of error tracking events in {{ workspace.name }} workspace

workers/email/src/templates/emails/events-limit-almost-reached/text.twig

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
You've used {{ eventsCount }} of {{ eventsLimit }} events available on {{ workspace.name | escape }} workspace plan.
1+
Youve used {{ eventsCount }} of {{ eventsLimit }} events this month in the {{ workspace.name | escape }} workspace.
22

3-
Upgrade the plan and don't miss the new ones: {{ host }}/workspace/{{ workspace._id }}/settings/billing
3+
Your project is growing — that’s awesome! Let’s make sure you don’t miss any important errors.
4+
5+
Upgrade your plan to stay on top of everything: {{ host }}/workspace/{{ workspace._id }}/settings/billing
46

57
***
68

0 commit comments

Comments
 (0)