From c0ed5479cc7f969166e5ccf123c0e2bc9a7e20ca Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Fri, 27 Jan 2023 16:03:33 +0100 Subject: [PATCH 1/2] Remove OS and Arch from dashboard --- src/controllers/dashboard/dashboard.html | 2 -- src/controllers/dashboard/dashboard.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/controllers/dashboard/dashboard.html b/src/controllers/dashboard/dashboard.html index 92794fb4ba..7fd60f7695 100644 --- a/src/controllers/dashboard/dashboard.html +++ b/src/controllers/dashboard/dashboard.html @@ -11,8 +11,6 @@

-

-

diff --git a/src/controllers/dashboard/dashboard.js b/src/controllers/dashboard/dashboard.js index a08f460daf..87704d406f 100644 --- a/src/controllers/dashboard/dashboard.js +++ b/src/controllers/dashboard/dashboard.js @@ -203,8 +203,6 @@ import confirm from '../../components/confirm/confirm'; apiClient.getSystemInfo().then(function (systemInfo) { view.querySelector('#serverName').innerText = globalize.translate('DashboardServerName', systemInfo.ServerName); view.querySelector('#versionNumber').innerText = globalize.translate('DashboardVersionNumber', systemInfo.Version); - view.querySelector('#operatingSystem').innerText = globalize.translate('DashboardOperatingSystem', systemInfo.OperatingSystem); - view.querySelector('#architecture').innerText = globalize.translate('DashboardArchitecture', systemInfo.SystemArchitecture); if (systemInfo.CanSelfRestart) { view.querySelector('#btnRestartServer').classList.remove('hide'); From 3230532c4bb7c4e69f499412b72864c1b31c4ec6 Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Tue, 7 Feb 2023 20:11:57 +0100 Subject: [PATCH 2/2] Remove translation strings --- src/strings/en-us.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/strings/en-us.json b/src/strings/en-us.json index 7a2bd21686..e1df52113f 100644 --- a/src/strings/en-us.json +++ b/src/strings/en-us.json @@ -160,8 +160,6 @@ "Cursive": "Cursive", "CustomDlnaProfilesHelp": "Create a custom profile to target a new device or override a system profile.", "DailyAt": "Daily at {0}", - "DashboardArchitecture": "Architecture: {0}", - "DashboardOperatingSystem": "Operating System: {0}", "DashboardServerName": "Server: {0}", "DashboardVersionNumber": "Version: {0}", "Data": "Data",