2015-07-20 00:09:47 -07:00
<%if (format === 'text') { %>
2017-01-17 15:47:18 +01:00
Dear Cloudron Admin,
2015-07-20 00:09:47 -07:00
2019-05-06 22:09:18 +02:00
<% for (var i = 0; i < apps.length; i++) { -%>
2020-12-29 12:43:53 -08:00
The app '<%= apps[i].app.manifest.title %>' installed at <%= apps[i].app.fqdn %> has an update available.
2015-07-20 00:09:47 -07:00
2020-12-29 12:43:53 -08:00
<%= apps[i].app.manifest.title %> v<%= apps[i].updateInfo.manifest.version %> changes:
2019-05-06 22:09:18 +02:00
<%= apps[i].updateInfo.manifest.changelog %>
2019-05-06 22:42:18 +02:00
<% } -%>
2016-02-04 14:45:43 +01:00
2019-05-06 22:42:18 +02:00
Update now at <%= webadminUrl %>
2017-01-17 15:47:18 +01:00
Powered by https://cloudron.io
2015-07-20 00:09:47 -07:00
2017-01-26 12:46:56 -08:00
Sent at: <%= new Date().toUTCString() %>
2015-07-20 00:09:47 -07:00
<% } else { %>
2017-11-02 18:31:51 -07:00
<center>
<img src="<%= cloudronAvatarUrl %>" width="128px" height="128px"/>
<h3>Dear <%= cloudronName %> Admin,</h3>
2019-06-12 17:15:02 +02:00
<br/>
2017-11-02 18:31:51 -07:00
<div style="width: 650px; text-align: left;">
2019-05-06 22:09:18 +02:00
<% for (var i = 0; i < apps.length; i++) { -%>
2017-11-02 18:31:51 -07:00
<p>
2020-12-29 12:43:53 -08:00
The app '<%= apps[i].app.manifest.title %>' installed at <a href="https://<%= apps[i].app.fqdn %>"><%= apps[i].app.fqdn %></a> has an update available.
2017-11-02 18:31:51 -07:00
</p>
2020-12-29 12:43:53 -08:00
<h5><%= apps[i].app.manifest.title %> v<%= apps[i].updateInfo.manifest.version %> changes:</h5>
2019-05-06 22:09:18 +02:00
<%- apps[i].changelogHTML %>
2017-11-02 18:31:51 -07:00
<br/>
2019-05-06 22:09:18 +02:00
<% } -%>
2017-11-02 18:31:51 -07:00
2019-05-06 22:42:18 +02:00
<p>
<br/>
<center><a href="<%= webadminUrl %>">Update now</a></center>
<br/>
</p>
2017-11-02 18:31:51 -07:00
</div>
<div style="font-size: 10px; color: #333333; background: #ffffff;">
2019-06-12 17:15:02 +02:00
Powered by <a href="https://cloudron.io">Cloudron</a>.<br/>
Sent at: <%= new Date().toUTCString() %>
2017-11-02 18:31:51 -07:00
</div>
</center>
2015-07-20 00:09:47 -07:00
<% } %>