-
- {{ "SYSTEM.INFORMATION" | translate }}
-
+
SYSTEM.INFORMATION
- - {{ "SYSTEM.PLATFORM" | translate }}
+ - SYSTEM.PLATFORM
- {{ SettingsCtrl.system.platform }}
- - {{ "SYSTEM.CPUS" | translate }}
+ - SYSTEM.CPUS
- {{ SettingsCtrl.system.numCPUs }}
- - {{ "SYSTEM.MACHINE_UPTIME" | translate }}
+ - SYSTEM.MACHINE_UPTIME
- {{ SettingsCtrl.system.machineUptime | amDurationFormat }}
- - {{ "SYSTEM.PROCESS_UPTIME" | translate }}
+ - SYSTEM.PROCESS_UPTIME
- {{ SettingsCtrl.system.processUptime | amDurationFormat }}
- - {{ "SYSTEM.MEMORY_USAGE" | translate }}
+ - SYSTEM.MEMORY_USAGE
- {{ SettingsCtrl.system.memoryUsage | number }}%
- - {{ "SYSTEM.VERSION" | translate }}
+ - SYSTEM.VERSION
- {{ SettingsCtrl.system.version }}
diff --git a/client/src/partials/settings/settings.js b/client/src/partials/settings/settings.js
index c72df7f992..7ab64d61e8 100644
--- a/client/src/partials/settings/settings.js
+++ b/client/src/partials/settings/settings.js
@@ -17,7 +17,7 @@ SettingsController.$inject = [
function SettingsController(Languages, Session, Constants, $translate, Notify, $window, System) {
var vm = this;
- vm.back = function () { $window.history.back(); };
+ vm.back = function back() { $window.history.back(); };
// load settings from services
vm.settings = { language : Languages.key };
@@ -28,10 +28,10 @@ function SettingsController(Languages, Session, Constants, $translate, Notify, $
/** bind the language service for use in the view */
Languages.read()
- .then(function (languages) {
- vm.languages = languages;
- })
- .catch(Notify.handleError);
+ .then(function (languages) {
+ vm.languages = languages;
+ })
+ .catch(Notify.handleError);
// formatting or bug report
var emailAddress = Constants.settings.CONTACT_EMAIL;
diff --git a/client/src/partials/templates/navigation.tmpl.html b/client/src/partials/templates/navigation.tmpl.html
index d766a2de25..af27a5260c 100644
--- a/client/src/partials/templates/navigation.tmpl.html
+++ b/client/src/partials/templates/navigation.tmpl.html
@@ -1,7 +1,7 @@
@@ -16,7 +16,7 @@
'fa-folder-open' : unit.open && unit.children.length > 0,
'fa-folder' : !unit.open && unit.children.length > 0}">
- {{ unit.key | translate }}
+ {{unit.key}}
@@ -33,22 +33,22 @@
'fa-folder-open' : child.open && child.children.length > 0,
'fa-folder' : !child.open && child.children.length > 0}">
- {{ child.key | translate }}
+ {{child.key}}
- {{ child.key | translate }}
+ {{child.key}}