From ac5abea7404ff0db3ab1b5e98af9e49db59ad846 Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Fri, 29 Mar 2024 19:00:15 +0530 Subject: [PATCH] Implemented: support to display oms details on settings page(#136) --- src/locales/en.json | 3 +++ src/views/Settings.vue | 28 +++++++++++++++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/src/locales/en.json b/src/locales/en.json index cba6882..afea864 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -48,6 +48,7 @@ "facility group": "facility group", "Group": "Group", "Group history": "Group history", + "Go to OMS": "Go to OMS", "greater": "greater", "greater than or equal to": "greater than or equal to", "High": "High", @@ -81,6 +82,7 @@ "No runs scheduled": "No runs scheduled", "No time zone found": "No time zone found", "OMS": "OMS", + "OMS instance": "OMS instance", "Order batches": "Order batches", "Order priority": "Order priority", "Order Rule Filters": "Order Rule Filters", @@ -137,6 +139,7 @@ "selected": "selected", "shipping method": "shipping method", "The timezone you select is used to ensure automations you schedule are always accurate to the time you select.": "The timezone you select is used to ensure automations you schedule are always accurate to the time you select.", + "This is the name of the OMS you are connected to right now. Make sure that you are connected to the right instance before proceeding.": "This is the name of the OMS you are connected to right now. Make sure that you are connected to the right instance before proceeding.", "Timezone": "Timezone", "Time zone updated successfully": "Time zone updated successfully", "Unarchive": "Unarchive", diff --git a/src/views/Settings.vue b/src/views/Settings.vue index 966c898..cfaf11e 100644 --- a/src/views/Settings.vue +++ b/src/views/Settings.vue @@ -31,6 +31,23 @@

{{ translate("OMS") }}

+ + + + {{ $t('OMS instance') }} + + + {{ oms }} + + + + {{ $t('This is the name of the OMS you are connected to right now. Make sure that you are connected to the right instance before proceeding.') }} + + + {{ $t('Go to OMS') }} + + + @@ -79,7 +96,7 @@