Add some $variables to the post install message

This way the post install messages can be better.

Removed it as a filter because I cannot figure how to pass args to it
This commit is contained in:
Girish Ramakrishnan
2020-08-08 18:07:06 -07:00
parent 91d4d95cb4
commit d82dde4b7f
4 changed files with 21 additions and 15 deletions

View File

@@ -17,7 +17,7 @@
<p ng-show="appPostInstallConfirm.app.manifest.addons.email">This app is set up to allow all users with a mailbox on this Cloudron. Login with the email and Cloudron password to access the mailbox.</p>
<p ng-show="!appPostInstallConfirm.customAuth && !appPostInstallConfirm.app.manifest.addons.email"> This app is set up to authenticate with the Cloudron User Directory. Cloudron users can login and use {{ appPostInstallConfirm.app.manifest.title }}.</p>
<div ng-bind-html="appPostInstallConfirm.app.manifest.postInstallMessage | postInstallMessage:appPostInstallConfirm.app | markdown2html"></div>
<div ng-bind-html="appPostInstallConfirm.app.manifest.postInstallMessage | markdown2html"></div>
<div ng-show="appPostInstallConfirm.app.manifest.documentationUrl">
Please see the <a target="_blank" ng-href="{{appPostInstallConfirm.app.manifest.documentationUrl}}">documentation</a> for more information.
</div>
@@ -69,7 +69,7 @@
<div id="appinfoPostinstallMessage" class="panel-collapse collapse">
<br/>
<div ng-bind-html="appInfo.app.manifest.postInstallMessage | postInstallMessage:appInfo.app | markdown2html"></div>
<div ng-bind-html="appInfo.app.manifest.postInstallMessage | markdown2html"></div>
</div>
</div>