Skip to content

Commit cc01300

Browse files
ikreymertw4l
andauthored
email templates update + customization (for 1.9.7) (#1654)
Same as #1653 (part of #1652) but without doc update for 1.9.7 release: - Update invite email template per request from Camille - Make it possible to customize templates w/o a new release via Helm chart. --------- Co-authored-by: Tessa Walsh <[email protected]>
1 parent 67188f5 commit cc01300

File tree

2 files changed

+37
-17
lines changed

2 files changed

+37
-17
lines changed

chart/email-templates/invite

Lines changed: 32 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,35 @@ Welcome to Browsertrix Cloud!
1212
{% endif %}
1313

1414
{% if is_new %}
15-
<p>You can now set up your account using the link below.</p>
15+
<p>We're excited you're here and can't wait to help you get started crawling! You can now set up your account using the link below.</p>
1616

1717
<p style="font-weight: bold; padding: 12px; background-color: lightgrey"><a href="{{ invite_url }}">Click here to create an account.</a></p>
1818
{% else %}
1919
<p style="font-weight: bold; padding: 12px; background-color: lightgrey"><a href="{{ invite_url }}">Click here to accept this invite.</a></p>
2020
{% endif %}
2121

22-
<p>When you first access your account, you’ll be directed to your Dashboard. It contains information you may want to view frequently including: Storage Usage, Crawling Info, Collections, and Monthly Usage History. From there, you can click <i>+ Create New</i> to create your first Crawl Workflow!
22+
<p>Here's what you should do first off to get the most value out of your experience:</p>
2323

24+
<p>
25+
Step 1: Create your login credentials<br/>
26+
Step 2: Review the <a href="https://docs.browsertrix.cloud/user-guide/">Browerstrix User Guide</a><br/>
27+
Step 3: <a href="https://docs.browsertrix.cloud/user-guide/org-settings/">Invite additional users</a> from your organization
28+
</p>
2429

25-
<p>For more info, check out the <b><a href="https://docs.browsertrix.cloud/user-guide/">Browsertrix Cloud User Guide</a></b></p>
30+
<p>When you first access your account, you'll be directed to your Dashboard. It contains information you may want to view frequently including: Storage Usage, Crawling Info, Collections, and Monthly Usage History. From there, you can click <b>+ Create New</b> to <a href="https://docs.browsertrix.cloud/user-guide/workflow-setup/">create your first Crawl Workflow</a>!</p>
2631

32+
<p>To help you get up to speed, here are the top three questions our users normally have on the first day:</p>
2733

2834
<p>
29-
We want you to get the most from your Browsertrix Cloud experience!
35+
How do I <a href="https://docs.browsertrix.cloud/user-guide/workflow-setup/">crawl my first website</a>?<br/>
36+
How do I create a <a href="https://docs.browsertrix.cloud/user-guide/browser-profiles/">browser profile</a>?<br/>
37+
How do I <a href="https://docs.browsertrix.cloud/user-guide/archived-items/#crawl-settings">export my archived items</a>?
3038
</p>
3139

32-
<p>Let us know if you need any questions or feedback.</p>
33-
You can connect with our team at <a href="mailto:{{ support_email }}">{{ support_email }}</a></p>
34-
</p>
40+
<p>If you need any assistance, please direct your questions to <a href="mailto:{{ support_email }}">{{ support_email }}</a></p>
3541

36-
<p><i>The Webrecorder Team</i></p>
42+
<p>Best Regards,</p>
43+
<p>The Webrecorder Team</p>
3744
</body>
3845
</html>
3946
~~~
@@ -46,19 +53,28 @@ You have been invited by {{ sender }} to join their organization, "{{ org_name }
4653

4754
{% else %}
4855

49-
You can join by clicking here: {{ invite_url }}
50-
{% endif %}
51-
52-
When you first access your account, you’ll be directed to your Dashboard. It contains information you may want to view frequently including: Storage Usage, Crawling Info, Collections, and Monthly Usage History.
56+
We're excited you're here and can't wait to help you get started crawling! You can now set up your account using the link below.
5357

54-
For more info, check out Browsertrix Cloud User Guide at: https://docs.browsertrix.cloud/user-guide/
58+
{{ invite_url }}
59+
{% endif %}
5560

61+
Here's what you should do first off to get the most value out of your experience:
5662

57-
If you ever need to reset your password, go here: {{ origin }}/log-in/forgot-password
63+
Step 1: Create your login credentials
64+
Step 2: Review the Browerstrix User Guide (https://docs.browsertrix.cloud/user-guide/)
65+
Step 3: Invite additional users from your organization (https://docs.browsertrix.cloud/user-guide/org-settings/)
5866

67+
When you first access your account, you'll be directed to your Dashboard.
68+
It contains information you may want to view frequently including: Storage Usage, Crawling Info, Collections, and Monthly Usage History.
69+
From there, you can click +Create New to create your first Crawl Workflow! (https://docs.browsertrix.cloud/user-guide/workflow-setup/)
5970

60-
We want you to get the most from your Browsertrix Cloud experience. Let us know if you need any questions or feedback.
61-
You can connect with our team at {{ support_email }}.
71+
To help you get up to speed, here are the top three questions our users normally have on the first day:
6272

73+
How do I crawl my first website? (https://docs.browsertrix.cloud/user-guide/workflow-setup/)
74+
How do I create a browser profile? (https://docs.browsertrix.cloud/user-guide/browser-profiles/)
75+
How do I export my archived items? (https://docs.browsertrix.cloud/user-guide/archived-items/#crawl-settings)
6376

77+
If you need any assistance, please direct your questions to {{ support_email }}.
6478

79+
Best Regards,
80+
The Webrecorder Team

chart/templates/configmap.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,8 @@ metadata:
145145
namespace: {{ .Release.Namespace }}
146146

147147
data:
148-
{{ (.Files.Glob "email-templates/*").AsConfig | indent 2 }}
148+
{{- $email_templates := .Values.email.templates | default dict }}
149+
{{- range tuple "failed_bg_job" "invite" "password_reset" "validate" }}
150+
{{ . }}: |
151+
{{ ((get $email_templates . ) | default ($.Files.Get (printf "%s/%s" "email-templates" . ))) | indent 4 }}
152+
{{- end }}

0 commit comments

Comments
 (0)