From 4b5109e2012bd28e0fcc065821fd107246432956 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Thu, 9 Jan 2020 18:26:24 -0800 Subject: [PATCH] Language updates + removal of buttons. --- .../job-detail-cards.component.jsx | 21 +++++++------------ client/src/translations/en_us/common.json | 7 ++----- 2 files changed, 10 insertions(+), 18 deletions(-) diff --git a/client/src/components/job-detail-cards/job-detail-cards.component.jsx b/client/src/components/job-detail-cards/job-detail-cards.component.jsx index 2f9405ab5..590153a94 100644 --- a/client/src/components/job-detail-cards/job-detail-cards.component.jsx +++ b/client/src/components/job-detail-cards/job-detail-cards.component.jsx @@ -37,12 +37,15 @@ export default function JobDetailCards({ selectedJob }) { window.history.back()} - title="Title" - subTitle="This is a subtitle" + title={ + data?.jobs_by_pk.ro_number + ? `${t("jobs.fields.ro_number")} ${data?.jobs_by_pk.ro_number}` + : `${t("jobs.fields.est_number")} ${data?.jobs_by_pk.est_number}`` + } extra={[ - , , , , - , - ]} > diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json index 2a043d70a..45480ef6c 100644 --- a/client/src/translations/en_us/common.json +++ b/client/src/translations/en_us/common.json @@ -75,13 +75,10 @@ "nojobselected": "No job is selected." }, "actions": { - "viewJobImages": "View Job Images", + "addDocuments": "Add Job Documents", "printCenter": "Print Center", "postInvoices": "Post Invoices", - "notes": "Job Notes", - "partStatus": "Part Status", - "receiveParts": "Receive Parts", - "card": {} + "addNote": "Add Note" } } }