Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 9 additions & 15 deletions config/samples/notification/v1alpha1/email-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,12 @@ spec:
</head>
<body>
<div class="container">
<div class="header">
<h1>Welcome to {{.CompanyName}}!</h1>
</div>

<p>Hello {{.UserName}},</p>

<p>We're excited to have you join {{.CompanyName}}. To get started, please click the button below to activate your account:</p>

<p>Hi {{.GivenName}}!</p>

<p>{{.inviteer.GivenName}} has invited you to join "{{.CompanyName}}" organization to collaborate with them. Use the button below to set up your account and get started:<p>

<div style="text-align: center;">
<a href="{{.InviteLink}}" class="button">Activate Your Account</a>
<a href="{{.InviteLink}}" class="button">Accept invitation</a>
</div>

<p>If the button doesn't work, you can copy and paste this link into your browser:</p>
Expand All @@ -59,25 +55,23 @@ spec:

<div class="footer">
<p>This is an automated message, please do not reply to this email.</p>
<p>&copy; {{.CompanyName}}. All rights reserved.</p>
<p>&copy; Datum. All rights reserved.</p>
</div>
</div>
</body>
</html>
textBody: |
Welcome to {{.CompanyName}}!

Hello {{.UserName}},
Hi {{.GivenName}}!

We're excited to have you join {{.CompanyName}}. To get started, please visit the following link to activate your account:
{{.inviteer.GivenName}} has invited you to join "{{.CompanyName}}" organization to collaborate with them. Use the button below to set up your account and get started:

{{.InviteLink}}

This invitation link will expire in 24 hours.

Note: This is an automated message, please do not reply to this email.

© {{.CompanyName}}. All rights reserved.
© Datum. All rights reserved.
variables:
- name: "UserName"
required: true
Expand Down