From e71a7bd17bbc12afb6ac6c7aad4b2552df83e3f3 Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Thu, 28 Jan 2021 17:04:23 -0800 Subject: [PATCH] Added duplication confirmation IO-614 --- bodyshop_translations.babel | 21 +++++++++++++++++++ .../jobs-detail-header-actions.component.jsx | 3 +++ client/src/translations/en_us/common.json | 1 + client/src/translations/es/common.json | 1 + client/src/translations/fr/common.json | 1 + 5 files changed, 27 insertions(+) diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index e64b812b7..f56f62374 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -19068,6 +19068,27 @@ + + duplicated + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + exported false diff --git a/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx b/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx index bab5ba766..28cc4cf20 100644 --- a/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx +++ b/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx @@ -159,6 +159,9 @@ export function JobsDetailHeaderActions({ { defaultOpenStatus: bodyshop.md_ro_statuses.default_imported }, (newJobId) => { history.push(`/manage/jobs/${newJobId}`); + notification["success"]({ + message: t("jobs.successes.duplicated"), + }); }, true ) diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json index 2d8092f35..5185b410b 100644 --- a/client/src/translations/en_us/common.json +++ b/client/src/translations/en_us/common.json @@ -1152,6 +1152,7 @@ "creatednoclick": "Job created successfully. ", "delete": "Job deleted successfully.", "deleted": "Job deleted successfully.", + "duplicated": "Job duplicated successfully. ", "exported": "Job exported successfully. ", "invoiced": "Job closed and invoiced successfully.", "save": "Job saved successfully.", diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json index 01f0d8934..ffacc4680 100644 --- a/client/src/translations/es/common.json +++ b/client/src/translations/es/common.json @@ -1152,6 +1152,7 @@ "creatednoclick": "", "delete": "", "deleted": "Trabajo eliminado con éxito.", + "duplicated": "", "exported": "", "invoiced": "", "save": "Trabajo guardado con éxito.", diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json index 0cd0c18cd..4f9a43179 100644 --- a/client/src/translations/fr/common.json +++ b/client/src/translations/fr/common.json @@ -1152,6 +1152,7 @@ "creatednoclick": "", "delete": "", "deleted": "Le travail a bien été supprimé.", + "duplicated": "", "exported": "", "invoiced": "", "save": "Le travail a été enregistré avec succès.",