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 @@ +
+ +
+
- - - +
diff --git a/webadmin/src/views/apps.js b/webadmin/src/views/apps.js index 49edef47f..617754a24 100644 --- a/webadmin/src/views/apps.js +++ b/webadmin/src/views/apps.js @@ -485,6 +485,10 @@ angular.module('Application').controller('AppsController', ['$scope', '$location return app.manifest && app.manifest.postInstallMessage; }; + $scope.hasConfigurePath = function (app) { + return app.manifest && app.manifest.configurePath; + }; + function fetchUsers() { Client.getUsers(function (error, users) { if (error) {