Add html version to user welcome mail

This commit is contained in:
Johannes Zellner
2016-10-13 11:14:17 +02:00
parent 1d8df65fbf
commit 19c7dd0de8
2 changed files with 46 additions and 25 deletions

View File

@@ -2,21 +2,33 @@
Hi <%= user.displayName || user.username || user.alternateEmail || user.email %>,
Welcome to our Cloudron <%= fqdn %>!
Welcome to <%= cloudronName %>!
Cloudron is a platform to run apps on your server. You can read more about it at https://www.cloudron.io.
To get started, create your account by visiting the following page:
To get started, activate your account by visiting the following page:
<%= setupLink %>
<% if (invitor && invitor.email) { %>
Thank you,
<%= invitor.email %>
<% } else { %>
Thank you
Your <%= invitor.email %>
<% } %>
<% } else { %>
<% } %>
<center>
<h3>Hi <%= user.displayName || user.username || user.alternateEmail || user.email %>,</h3>
<img src="<%= cloudronAvatarUrl %>"/>
<h1>Welcome to <%= cloudronName %>!</h1>
<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 %>
<% } %>
</p>
<% } %>