Introduce the sso marker for postInstallMessage

The marker is "=== sso ==="
The part before the marker is shown if sso i disabled,
the remaining part is shown when sso is enabled.

If no marker is found, the whole text is shown
This commit is contained in:
Johannes
2016-11-24 15:33:45 +01:00
parent 14ef7688b8
commit 2ca12db362
3 changed files with 17 additions and 2 deletions

View File

@@ -220,7 +220,7 @@
</div>
<div class="modal-body">
<div class="app-postinstall-message">
<div ng-bind-html="appPostInstall.message | markdown2html"></div>
<div ng-bind-html="appPostInstall.message | postInstallMessage:appPostInstall.app | markdown2html"></div>
</div>
</div>
<div class="modal-footer">