Skip to content

Commit

Permalink
Merge pull request #360 from ConductionNL/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
remko48 authored Dec 13, 2024
2 parents 5ae9107 + 0d39dd4 commit b4068fd
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 0 deletions.
80 changes: 80 additions & 0 deletions pwa/src/templates/wooItemDetailTemplate/WOOItemDetailTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,86 @@ export const WOOItemDetailTemplate: React.FC<WOOItemDetailTemplateProps> = ({ wo
</TableCell>
</TableRow>
)}
{getItems.data.metadata?.verzoek?.organisatieonderdeel && (
<TableRow
className={styles.tableRow}
tabIndex={0}
aria-label={`${t("Organizational unit")}, ${getItems.data.metadata?.verzoek?.organisatieonderdeel}`}
>
<TableCell>{t("Organizational unit")}</TableCell>
<TableCell>{getItems.data.metadata?.verzoek?.organisatieonderdeel}</TableCell>
</TableRow>
)}
{getItems.data.metadata?.verzoek?.functiebenaming && (
<TableRow
className={styles.tableRow}
tabIndex={0}
aria-label={`${t("Job title")}, ${getItems.data.metadata?.verzoek?.functiebenaming}`}
>
<TableCell>{t("Job title")}</TableCell>
<TableCell>{getItems.data.metadata?.verzoek?.functiebenaming}</TableCell>
</TableRow>
)}
{getItems.data.metadata?.verzoek?.gedraging && (
<TableRow
className={styles.tableRow}
tabIndex={0}
aria-label={`${t("Behavior")}, ${getItems.data.metadata?.verzoek?.gedraging}`}
>
<TableCell>{t("Behavior")}</TableCell>
<TableCell>{getItems.data.metadata?.verzoek?.gedraging}</TableCell>
</TableRow>
)}
{getItems.data.metadata?.verzoek?.bevindingen && (
<TableRow
className={styles.tableRow}
tabIndex={0}
aria-label={`${t("Findings")}, ${getItems.data.metadata?.verzoek?.bevindingen}`}
>
<TableCell>{t("Findings")}</TableCell>
<TableCell>{getItems.data.metadata?.verzoek?.bevindingen}</TableCell>
</TableRow>
)}
{getItems.data.metadata?.verzoek?.oordeel && (
<TableRow
className={styles.tableRow}
tabIndex={0}
aria-label={`${t("Judgement")}, ${getItems.data.metadata?.verzoek?.oordeel}`}
>
<TableCell>{t("Judgement")}</TableCell>
<TableCell>{getItems.data.metadata?.verzoek?.oordeel}</TableCell>
</TableRow>
)}
{getItems.data.metadata?.verzoek?.conclusies && (
<TableRow
className={styles.tableRow}
tabIndex={0}
aria-label={`${t("Conclusions")}, ${getItems.data.metadata?.verzoek?.conclusies}`}
>
<TableCell>{t("Conclusions")}</TableCell>
<TableCell>{getItems.data.metadata?.verzoek?.conclusies}</TableCell>
</TableRow>
)}
{getItems.data.metadata?.verzoek?.opdrachtgever && (
<TableRow
className={styles.tableRow}
tabIndex={0}
aria-label={`${t("Client")}, ${getItems.data.metadata?.verzoek?.opdrachtgever}`}
>
<TableCell>{t("Client")}</TableCell>
<TableCell>{getItems.data.metadata?.verzoek?.opdrachtgever}</TableCell>
</TableRow>
)}
{getItems.data.metadata?.verzoek?.onderdeelTaak && (
<TableRow
className={styles.tableRow}
tabIndex={0}
aria-label={`${t("Part task")}, ${getItems.data.metadata?.verzoek?.onderdeelTaak}`}
>
<TableCell>{t("Part task")}</TableCell>
<TableCell>{getItems.data.metadata?.verzoek?.onderdeelTaak}</TableCell>
</TableRow>
)}

{!_.isEmpty(getItems.data.bijlagen) && (
<TableRow
Expand Down
8 changes: 8 additions & 0 deletions pwa/src/translations/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ export const en = {
View: "View",
Pagination: "Pagination",
Details: "Details",
Behavior: "Behavior",
Findings: "Findings",
Judgement: "Judgement",
Conclusions: "Conclusions",
Client: "Client",
"Jumbotron card": "Jumbotron card",
"N/A": "N/A",
"Details page": "Details page",
Expand Down Expand Up @@ -67,4 +72,7 @@ export const en = {
"Language select": "Language select",
"Details table": "Details table",
"Title of woo request": "Title of woo request",
"Organizational unit": "Organizational unit",
"Job title": "Job title",
"Part task": "Part task",
};
8 changes: 8 additions & 0 deletions pwa/src/translations/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ export const nl = {
View: "Weergave",
Pagination: "Paginering",
Details: "Details",
Behavior: "Gedraging",
Findings: "Bevindingen",
Judgement: "Oordeel",
Conclusions: "Conclusies",
Client: "Opdrachtgever",
"Jumbotron card": "Jumbotron tegel",
"N/A": "N.v.t",
"Details page": "Detailpagina",
Expand Down Expand Up @@ -67,4 +72,7 @@ export const nl = {
"Language select": "Taal kiezen",
"Details table": "Detail tabel",
"Title of woo request": "Titel van Woo verzoek",
"Organizational unit": "Organisatieonderdeel",
"Job title": "Functiebenaming",
"Part task": "Onderdeel taak",
};

0 comments on commit b4068fd

Please sign in to comment.