49 lines
1.3 KiB
Cheetah
49 lines
1.3 KiB
Cheetah
{{define "subject"}}Activate your Gardomatic account{{end}}
|
|
|
|
{{define "plainBody"}}
|
|
Hi,
|
|
|
|
{{if .activationURL}}Activate your account using this link:
|
|
|
|
{{.activationURL}}
|
|
|
|
Alternatively, enter this activation token on the activation page:
|
|
{{.activationToken}}
|
|
{{else}}Please send a `PUT /v1/users/activated` request with the following JSON body to activate your account:
|
|
|
|
{"token": "{{.activationToken}}"}
|
|
{{end}}
|
|
|
|
Please note that this is a one-time use token and it will expire in 3 days.
|
|
|
|
Thanks,
|
|
|
|
The Gardomatic Team
|
|
{{end}}
|
|
|
|
{{define "htmlBody"}}
|
|
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width" />
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
</head>
|
|
<body>
|
|
<p>Hi,</p>
|
|
{{if .activationURL}}
|
|
<p><a href="{{.activationURL}}">Activate your Gardomatic account</a></p>
|
|
<p>Alternatively, enter this activation token on the activation page:</p>
|
|
<pre><code>{{.activationToken}}</code></pre>
|
|
{{else}}
|
|
<p>Please send a <code>PUT /v1/users/activated</code> request with the following JSON body to activate your account:</p>
|
|
<pre><code>
|
|
{"token": "{{.activationToken}}"}
|
|
</code></pre>
|
|
{{end}}
|
|
<p>Please note that this is a one-time use token and it will expire in 3 days.</p>
|
|
<p>Thanks,</p>
|
|
<p>The Gardomatic Team</p>
|
|
</body>
|
|
</html>
|
|
{{end}}
|