summaryrefslogtreecommitdiff
path: root/src/locales
diff options
context:
space:
mode:
authorNishant Tiwari <tiwari.nishant@ibm.com>2026-07-16 11:27:11 +0300
committerNishant Tiwari <tiwari.nishant@ibm.com>2026-09-28 13:42:29 +0300
commit85248e05cf5c44fc2a77135f829ae33b0d485e2f (patch)
tree16378e768cfd50a88578c36ad28e6d9275dd8907 /src/locales
parent4628f24b336ea30b288a4b50d42c0e50d8d62869 (diff)
downloadwebui-vue-master.tar.xz
Add asset tag edit functionality to overview pageHEADmaster
Implemented the ability to view and edit the system asset tag directly from the Overview page, including a modal dialog for editing, Vuex store action for saving, and truncation in the app header. Changes: - Added ModalAssetTag.vue component with: - Form input for editing the asset tag value - Vuelidate validation requiring a non-empty tag - Updated OverviewServer.vue to: - Display asset tag in the system information section - Add inline edit button using Carbon edit icon - Dispatch saveAssetTag store action with toast feedback - Refresh global system info after a successful save - Added saveAssetTag action to SystemStore.js using PATCH against the system path endpoint - Updated AppHeader.vue to truncate asset tags longer than 30 characters with an ellipsis, preserving full value in the title attribute for accessibility - Added translation keys for asset tag label, modal title, and success/error toast messages in en-US, ka-GE, and ru-RU locale files Testing: - Verified asset tag displays correctly in system info section - Verified modal opens, validates, and submits correctly - Verified PATCH request updates asset tag on the server - Validated success and error toast notifications display - Confirmed long asset tags are truncated in the header Change-Id: I6ac51dfc24b9d40986b74e9220cff955b029d659 Signed-off-by: Nishant Tiwari <tiwari.nishant@ibm.com>
Diffstat (limited to 'src/locales')
-rw-r--r--src/locales/en-US.json10
-rw-r--r--src/locales/ka-GE.json10
-rw-r--r--src/locales/ru-RU.json10
3 files changed, 27 insertions, 3 deletions
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index 99f4bd8b6..07b5a94ca 100644
--- a/src/locales/en-US.json
+++ b/src/locales/en-US.json
@@ -627,6 +627,7 @@
}
},
"pageOverview": {
+ "assetTag": "Asset tag",
"backupVersion": "Backup",
"bmcTime": "BMC date and time",
"criticalEvents": "Critical",
@@ -654,7 +655,14 @@
"systemInformation": "System information",
"total": "Total",
"warningEvents": "Warning",
- "viewMore": "View more"
+ "viewMore": "View more",
+ "modal": {
+ "editAssetTag": "Edit asset tag"
+ },
+ "toast": {
+ "successSaveAssetTag": "Successfully updated asset tag.",
+ "errorSaveAssetTag": "Error updating asset tag."
+ }
},
"pagePostCodeLogs": {
"allExportFilePrefix": "All_POST_codes_log_",
diff --git a/src/locales/ka-GE.json b/src/locales/ka-GE.json
index 5ada54f16..1bab9028c 100644
--- a/src/locales/ka-GE.json
+++ b/src/locales/ka-GE.json
@@ -627,6 +627,7 @@
}
},
"pageOverview": {
+ "assetTag": "აქტივის იდენტიფიკატორი",
"backupVersion": "მარქაფი",
"bmcTime": "BMC-ის დრო და თარიღი",
"criticalEvents": "კრიტიკული",
@@ -654,7 +655,14 @@
"systemInformation": "სისტემის ინფორმაცია",
"total": "სულ",
"warningEvents": "გაფრთხილება",
- "viewMore": "მეტის ნახვა"
+ "viewMore": "მეტის ნახვა",
+ "modal": {
+ "editAssetTag": "აქტივის იდენტიფიკატორის რედაქტირება"
+ },
+ "toast": {
+ "successSaveAssetTag": "აქტივის იდენტიფიკატორი წარმატებით განახლდა.",
+ "errorSaveAssetTag": "აქტივის იდენტიფიკატორის განახლების შეცდომა."
+ }
},
"pagePostCodeLogs": {
"allExportFilePrefix": "ყველა_POST_კოდის_ჟურნალი",
diff --git a/src/locales/ru-RU.json b/src/locales/ru-RU.json
index e9b049462..a22de1e9c 100644
--- a/src/locales/ru-RU.json
+++ b/src/locales/ru-RU.json
@@ -627,6 +627,7 @@
}
},
"pageOverview": {
+ "assetTag": "Метка актива",
"backupVersion": "Резервный",
"bmcTime": "Дата и время BMC",
"criticalEvents": "Критические",
@@ -654,7 +655,14 @@
"systemInformation": "Информация о системе",
"total": "Всего",
"warningEvents": "Предупреждения",
- "viewMore": "Подробнее"
+ "viewMore": "Подробнее",
+ "modal": {
+ "editAssetTag": "Изменить метку актива"
+ },
+ "toast": {
+ "successSaveAssetTag": "Метка актива успешно обновлена.",
+ "errorSaveAssetTag": "Ошибка при обновлении метки актива."
+ }
},
"pagePostCodeLogs": {
"allExportFilePrefix": "Лог_всех_POST_кодов_",