diff --git a/src/js/client.js b/src/js/client.js index f09727a97..504c5a895 100644 --- a/src/js/client.js +++ b/src/js/client.js @@ -218,14 +218,6 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout region: null, size: null }; - this._features = { - userMaxCount: Infinity, - appMaxCount: 2, // unused checked on the appstore side, but just for completeness - externalLdap: true, - eventLog: true, - privateDockerRegistry: true, - branding: true - }; this._installedApps = []; this._installedAppsById = {}; this._appTags = []; @@ -373,10 +365,6 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout return this._config; }; - Client.prototype.getFeatures = function () { - return this._features; - }; - Client.prototype.setToken = function (accessToken) { if (!accessToken) localStorage.removeItem('token'); else localStorage.token = accessToken; diff --git a/src/views/activity.html b/src/views/activity.html index 289395ae1..c6740d0c9 100644 --- a/src/views/activity.html +++ b/src/views/activity.html @@ -25,10 +25,10 @@
-
+
This features is only available in the business plan.
-
+

diff --git a/src/views/activity.js b/src/views/activity.js index 105be9da4..a9b295624 100644 --- a/src/views/activity.js +++ b/src/views/activity.js @@ -7,7 +7,6 @@ angular.module('Application').controller('ActivityController', ['$scope', '$loca Client.onReady(function () { if (!Client.getUserInfo().admin) $location.path('/'); }); $scope.config = Client.getConfig(); - $scope.features = Client.getFeatures(); $scope.busy = false; $scope.eventLogs = []; diff --git a/src/views/settings.html b/src/views/settings.html index d23bfc24e..d62e6de6e 100644 --- a/src/views/settings.html +++ b/src/views/settings.html @@ -354,13 +354,13 @@
-
+
This features is only available in the business plan.
-
+
Server address
@@ -369,7 +369,7 @@
-
+
Username
@@ -380,7 +380,7 @@
-
+
diff --git a/src/views/settings.js b/src/views/settings.js index bddb3e130..378fca6d7 100644 --- a/src/views/settings.js +++ b/src/views/settings.js @@ -9,7 +9,6 @@ angular.module('Application').controller('SettingsController', ['$scope', '$loca $scope.client = Client; $scope.user = Client.getUserInfo(); $scope.config = Client.getConfig(); - $scope.features = Client.getFeatures(); $scope.installedApps = Client.getInstalledApps(); $scope.subscription = null; diff --git a/src/views/users.html b/src/views/users.html index 871dc4c0a..1f0d88b55 100644 --- a/src/views/users.html +++ b/src/views/users.html @@ -352,7 +352,7 @@

Users -

@@ -485,11 +485,11 @@

-
+
This features is only available in the business plan.
-
+
Provider diff --git a/src/views/users.js b/src/views/users.js index eb1ac9963..c5bf7d915 100644 --- a/src/views/users.js +++ b/src/views/users.js @@ -24,7 +24,6 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio $scope.groupsById = { }; $scope.config = Client.getConfig(); $scope.userInfo = Client.getUserInfo(); - $scope.features = Client.getFeatures(); $scope.allUsers = [];