Translate welcome mail

This commit is contained in:
Johannes Zellner
2020-11-20 16:10:04 +01:00
parent 93a1e6fca8
commit f324d50cef
3 changed files with 17 additions and 19 deletions

View File

@@ -2,28 +2,27 @@
<img src="<%= cloudronAvatarUrl %>" width="128px" height="128px"/>
<h3>Hi <%= user.displayName || user.username || user.email %>,</h3>
<h3>{{ welcomeEmail.salutation }}</h3>
<h2>{{ welcomeEmail.welcomeTo }}</h2>
<p>
<a href="<%= inviteLink %>">Get started</a>.
<a href="<%= inviteLink %>">{{ welcomeEmail.inviteLinkAction }}</a>
</p>
<br/>
<br/>
<div style="font-size: 10px; color: #333333; background: #ffffff;">
<% if (invitor && invitor.email) { %>
You are receiving this email because you were invited by <%= invitor.email %>.
<% } %>
<% if (invitor) { -%>
{{ welcomeEmail.invitor }}
<% } -%>
<br/>
<br/>
Please note that the invite link will expire in 7 days.
<br/>
{{ welcomeEmail.expireNote }}
<br/>
Powered by <a href="https://cloudron.io">Cloudron</a>
Powered by <a href="https://cloudron.io">Cloudron</a>
</div>
</center>