diff --git a/webadmin/src/js/index.js b/webadmin/src/js/index.js index 633c64d0d..129537742 100644 --- a/webadmin/src/js/index.js +++ b/webadmin/src/js/index.js @@ -178,6 +178,17 @@ app.filter('applicationLink', function() { }; }); +app.filter('configureLink', function() { + return function(app) { + if (app.manifest.configurePath && app.installationState === ISTATES.INSTALLED && app.health === HSTATES.HEALTHY) { + console.log('===', app.manifest.configurePath) + return 'https://' + app.fqdn + (app.manifest.configurePath[0] !== '/' ? '/' : '') + app.manifest.configurePath; + } else { + return ''; + } + }; +}); + app.filter('prettyHref', function () { return function (input) { if (!input) return input; diff --git a/webadmin/src/views/apps.html b/webadmin/src/views/apps.html index 009befbe1..ba2d1b745 100644 --- a/webadmin/src/views/apps.html +++ b/webadmin/src/views/apps.html @@ -409,10 +409,12 @@ +
+