Add app configure link in app grid
This was asked for many times now for the wp-admin and ghost In addtion we could make that information in the postinstall a link as well
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user