Skip to content

Commit

Permalink
Added tenant id in PartyGeneralInfoSection.tsx (#1070)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinaCampoli authored and ruggerocastagnola committed Jan 21, 2025
1 parent 9d58d38 commit 2f381a1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ export const PartyGeneralInfoSection: React.FC = () => {
content={user?.subUnitType}
/>
)}
<InformationContainer
label={t('tenantIdField.label')}
content={user.id}
copyToClipboard={{
value: user.id,
tooltipTitle: t('tenantIdField.copySuccessFeedbackText'),
}}
/>
</Stack>
</SectionContainer>
</Grid>
Expand Down
4 changes: 4 additions & 0 deletions src/static/locales/en/party.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
},
"subUnitTypeField": {
"label": "Organization type"
},
"tenantIdField": {
"label": "Tenant ID",
"copySuccessFeedbackText": "Id copied successfully"
}
},
"contacts": {
Expand Down
4 changes: 4 additions & 0 deletions src/static/locales/it/party.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
},
"subUnitTypeField": {
"label": "Tipologia di ente"
},
"tenantIdField": {
"label": "ID ente",
"copySuccessFeedbackText": "Id copiato correttamente"
}
},
"contacts": {
Expand Down

0 comments on commit 2f381a1

Please sign in to comment.