Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development #360

Merged
merged 2 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
};
Loading