diff --git a/webadmin/src/js/index.js b/webadmin/src/js/index.js index 129537742..89eb796a0 100644 --- a/webadmin/src/js/index.js +++ b/webadmin/src/js/index.js @@ -235,6 +235,21 @@ app.filter('markdown2html', function () { }; }); +app.filter('postInstallMessage', function () { + var SSO_MARKER = '=== sso ==='; + + return function (text, app) { + if (!app) return text; + + var parts = text.split(SSO_MARKER); + if (parts.length === 1) return text; + + if (app.sso) return parts[1]; + else return parts[0]; + }; +}); + + // keep this in sync with eventlog.js var ACTION_ACTIVATE = 'cloudron.activate'; var ACTION_APP_CONFIGURE = 'app.configure'; diff --git a/webadmin/src/views/apps.html b/webadmin/src/views/apps.html index ba2d1b745..19a2962f7 100644 --- a/webadmin/src/views/apps.html +++ b/webadmin/src/views/apps.html @@ -220,7 +220,7 @@
-
+