2017-07-21 16:13:44 +02:00
|
|
|
<%if (format === 'text') { %>
|
|
|
|
|
|
|
|
|
|
Dear <%= cloudronName %> Admin,
|
|
|
|
|
|
2017-07-23 21:07:13 -07:00
|
|
|
This is the weekly summary of activities on your Cloudron.
|
|
|
|
|
|
2017-07-21 16:13:44 +02:00
|
|
|
<% if (info.pendingBoxUpdate) { %>
|
2017-07-23 21:07:13 -07:00
|
|
|
New Cloudron version <%- info.pendingBoxUpdate.version %> is available. Please update
|
|
|
|
|
at the earliest.
|
|
|
|
|
|
|
|
|
|
Changelog for this version:
|
2017-07-21 16:13:44 +02:00
|
|
|
<% for (var i = 0; i < info.pendingBoxUpdate.changelog.length; i++) { %>
|
|
|
|
|
* <%- info.pendingBoxUpdate.changelog[i] %>
|
|
|
|
|
<% } %>
|
|
|
|
|
<% } %>
|
2017-07-23 21:07:13 -07:00
|
|
|
|
2017-07-21 16:13:44 +02:00
|
|
|
<% if (info.pendingAppUpdates.length) { %>
|
2017-07-23 21:07:13 -07:00
|
|
|
One or more apps updates are available:
|
2017-07-21 16:13:44 +02:00
|
|
|
<% for (var i = 0; i < info.pendingAppUpdates.length; i++) { %>
|
|
|
|
|
- <%= info.pendingAppUpdates[i].manifest.title %> (to version <%= info.pendingAppUpdates[i].manifest.version %>):
|
|
|
|
|
<% for (var j = 0; j < info.pendingAppUpdates[i].manifest.changelog.split('\n').length; j++) { %>
|
|
|
|
|
<%= info.pendingAppUpdates[i].manifest.changelog.split('\n')[j] %>
|
|
|
|
|
<% } %>
|
|
|
|
|
<% } %>
|
|
|
|
|
<% } %>
|
2017-07-23 21:07:13 -07:00
|
|
|
|
2017-07-21 16:13:44 +02:00
|
|
|
<% if (info.finishedBoxUpdates.length) { %>
|
2017-07-23 21:07:13 -07:00
|
|
|
Cloudron was updated with the following releases:
|
2017-07-21 16:13:44 +02:00
|
|
|
<% for (var i = 0; i < info.finishedBoxUpdates.length; i++) { %>
|
|
|
|
|
- Version <%= info.finishedBoxUpdates[i].boxUpdateInfo.version %>
|
|
|
|
|
<% for (var j = 0; j < info.finishedBoxUpdates[i].boxUpdateInfo.changelog.length; j++) { %>
|
|
|
|
|
* <%= info.finishedBoxUpdates[i].boxUpdateInfo.changelog[j] %>
|
|
|
|
|
<% } %>
|
|
|
|
|
<% } %>
|
|
|
|
|
<% } %>
|
|
|
|
|
|
|
|
|
|
<% if (info.finishedAppUpdates.length) { %>
|
2017-07-23 21:07:13 -07:00
|
|
|
The following apps were updated:
|
2017-07-21 16:13:44 +02:00
|
|
|
<% for (var i = 0; i < info.finishedAppUpdates.length; i++) { %>
|
|
|
|
|
- <%= info.finishedAppUpdates[i].toManifest.title %> (to version <%= info.finishedAppUpdates[i].toManifest.version %>)
|
|
|
|
|
<% for (var j = 0; j < info.finishedAppUpdates[i].toManifest.changelog.split('\n').length; j++) { %>
|
|
|
|
|
<%= info.finishedAppUpdates[i].toManifest.changelog.split('\n')[j] %>
|
|
|
|
|
<% } %>
|
|
|
|
|
<% } %>
|
|
|
|
|
<% } %>
|
|
|
|
|
|
2017-07-23 21:07:13 -07:00
|
|
|
Powered by https://cloudron.io
|
|
|
|
|
|
|
|
|
|
Sent at: <%= new Date().toUTCString() %>
|
2017-07-21 16:13:44 +02:00
|
|
|
|
|
|
|
|
<% } else { %>
|
|
|
|
|
|
|
|
|
|
<% } %>
|