diff --git a/src/views/app.html b/src/views/app.html index d5cd51ff5..cb2aba94e 100644 --- a/src/views/app.html +++ b/src/views/app.html @@ -630,13 +630,13 @@
{{ 'app.displayTabTitle' | tr }}
{{ 'app.locationTabTitle' | tr }}
{{ 'app.accessControlTabTitle' | tr }}
-
{{ 'app.resourcesTabTitle' | tr }}
-
{{ 'app.storageTabTitle' | tr }}
-
{{ 'app.graphsTabTitle' | tr }}
-
Proxy
+
{{ 'app.resourcesTabTitle' | tr }}
+
{{ 'app.storageTabTitle' | tr }}
+
{{ 'app.graphsTabTitle' | tr }}
+
Proxy
{{ 'app.securityTabTitle' | tr }}
-
{{ 'app.emailTabTitle' | tr }}
-
{{ 'app.cronTabTitle' | tr }}
+
{{ 'app.emailTabTitle' | tr }}
+
{{ 'app.cronTabTitle' | tr }}
{{ 'app.updatesTabTitle' | tr }}
{{ 'app.backupsTabTitle' | tr }}
{{ 'app.repairTabTitle' | tr }}
diff --git a/src/views/app.js b/src/views/app.js index 8133c685e..d375eccf3 100644 --- a/src/views/app.js +++ b/src/views/app.js @@ -9,6 +9,7 @@ /* global Chart */ /* global Clipboard */ /* global SECRET_PLACEHOLDER */ +/* global APP_TYPES */ angular.module('Application').controller('AppController', ['$scope', '$location', '$translate', '$timeout', '$interval', '$route', '$routeParams', 'Client', function ($scope, $location, $translate, $timeout, $interval, $route, $routeParams, Client) { // List is from http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region @@ -153,6 +154,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location' $scope.users = []; $scope.backupConfig = null; + $scope.APP_TYPES = APP_TYPES; $scope.HOST_PORT_MIN = 1; $scope.HOST_PORT_MAX = 65535; $scope.ROBOTS_DISABLE_INDEXING_TEMPLATE = '# Disable search engine indexing\n\nUser-agent: *\nDisallow: /'; @@ -165,12 +167,6 @@ angular.module('Application').controller('AppController', ['$scope', '$location' $scope.view = view; }; - $scope.isProxyApp = function (app) { - if (!app || !app.manifest) return false; - - return app.manifest.id === 'io.cloudron.builtin.appproxy'; - }; - $scope.stopAppTask = function (taskId) { Client.stopTask(taskId, function (error) { // we can ignore a call trying to cancel an already done task