From c0febacc30e04a0283fefc1e22d3639cfb6e2bad Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Sat, 18 Feb 2017 12:46:09 -0800 Subject: [PATCH] Remove configureLink postInstallMessage already has this information --- docs/references/manifest.md | 20 -------------------- webadmin/src/js/index.js | 10 ---------- webadmin/src/views/apps.html | 4 ---- 3 files changed, 34 deletions(-) diff --git a/docs/references/manifest.md b/docs/references/manifest.md index a7da4de54..5ff51abeb 100644 --- a/docs/references/manifest.md +++ b/docs/references/manifest.md @@ -93,26 +93,6 @@ Example: "changelog": "* Add support for IE8 \n* New logo" ``` -## configurePath - -Type: path string - -Required: no - -The `configurePath` can be used to specify the absolute path to the configuration / settings -page of the app. When this path is present, an absoluted URL is constructed from the app's -install location this path and presented to the user in the configuration dialog of the app. - -This is useful for apps that have a main page which does not display a configuration / settings -url (i.e) it's hidden for aesthetic reasons. For example, a blogging app like wordpress might -keep the admin page url hidden in the main page. Setting the configurationPath makes the -configuration url discoverable by the user. - -Example: -``` - "configurePath": "/wp-admin" -``` - ## contactEmail Type: email diff --git a/webadmin/src/js/index.js b/webadmin/src/js/index.js index 477c68f17..3d6952783 100644 --- a/webadmin/src/js/index.js +++ b/webadmin/src/js/index.js @@ -199,16 +199,6 @@ app.filter('applicationLink', function() { }; }); -app.filter('configureLink', function() { - return function(app) { - if (app.manifest.configurePath && app.installationState === ISTATES.INSTALLED && app.health === HSTATES.HEALTHY) { - 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 a14aa99a9..6be40d753 100644 --- a/webadmin/src/views/apps.html +++ b/webadmin/src/views/apps.html @@ -415,10 +415,6 @@ -
- -
-