Improve the invite mail

This commit is contained in:
Johannes Zellner
2016-10-13 11:56:23 +02:00
parent 946d4f1b70
commit 5a1729d715
2 changed files with 8 additions and 16 deletions
+1 -6
View File
@@ -2,9 +2,7 @@
Dear Admin,
User with email <%= user.alternateEmail || user.email %> was added in the Cloudron at <%= fqdn %>.
You are receiving this email because you are an Admin of the Cloudron at <%= fqdn %>.
User with email <%= user.alternateEmail || user.email %> was added to your <%= cloudronName %> Cloudron.
<% if (inviteLink) { %>
As requested, this user has not been sent an invitation email.
@@ -14,9 +12,6 @@ To set a password and perform any configuration on behalf of the user, please us
<% } %>
Thank you,
User Manager
<% } else { %>
<% } %>
+7 -10
View File
@@ -15,20 +15,17 @@ Your <%= invitor.email %>
<center>
<img src="<%= cloudronAvatarUrl %>"/>
<h3>Hi <%= user.displayName || user.username || user.alternateEmail || user.email %>,</h3>
<img src="<%= cloudronAvatarUrl %>"/>
<h1>Welcome to <%= cloudronName %>!</h1>
<h2>Welcome to <%= cloudronName %>!</h2>
<p>
To get started, activate your account by visiting the following page:<br/>
<a href="<%= setupLink %>"><%= setupLink %></a>
</p>
<p>
<% if (invitor && invitor.email) { %>
Your <%= invitor.email %>
<% } %>
<% if (invitor && invitor.email) { %>
You got invited by <%= invitor.email %>.<br/>
<% } %>
To get started, <a href="<%= setupLink %>">activate your account</a>.
</p>
<% } %>