Skip to content

Commit

Permalink
feat: [develop] fix contracts delete archive actions #443
Browse files Browse the repository at this point in the history
  • Loading branch information
dragos1195 committed Oct 3, 2024
1 parent 7f7cdd5 commit d5edac6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/assets/locales/ro/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@
},
"DELETE_DOCUMENT_CONTRACT": {
"label": "Șterge Contract",
"description": "Contractul cu numărul <inlineContractLink>{{contractNumber}}</inlineContractLink> pentru <inlineLink>{{volunteerName}}</inlineLink> a fost șters"
"description": "Contractul cu numărul {{documentContractNumber}} pentru <inlineLink>{{volunteerName}}</inlineLink> a fost șters"
},
"CREATE_DOCUMENT_TEMPLATE": {
"label": "Creează Template",
Expand Down Expand Up @@ -1371,4 +1371,4 @@
"clear": "Șterge",
"apply_all": "Aplică pentru toate"
}
}
}
2 changes: 2 additions & 0 deletions frontend/src/common/utils/actions-archive.mappings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -398,12 +398,14 @@ export const mapEventDataToActionDescription = (
return (
<Trans
i18nKey={`actions_archive:${eventName}.description`}
values={{ documentContractNumber: eventData.documentContractNumber }}
components={{
inlineLink: (
<LinkText
url={`/volunteers/${eventData.volunteerId}`}
content={eventData.volunteerName}
/>

),
}}
/>
Expand Down

0 comments on commit d5edac6

Please sign in to comment.