Add again Client fields( Logo URL, Policy URL and Terms of service URL ) in ApplicationsPage.tsx of AccountConsole (#11837)

Closes #11825
This commit is contained in:
cgeorgilakis 2022-08-31 23:30:29 +03:00 committed by GitHub
parent a8019d78e7
commit a3f339a1c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

View file

@ -137,6 +137,7 @@ termsOfService=Terms of service
policy=Privacy policy policy=Privacy policy
applicationType=Application type applicationType=Application type
status=Status status=Status
logo=Logo
#Delete account page #Delete account page
doDelete=Delete doDelete=Delete

View file

@ -229,6 +229,24 @@ export class ApplicationsPage extends React.Component<ApplicationsPageProps, App
) )
})} })}
</DescriptionListGroup> </DescriptionListGroup>
{application.tosUri &&
<DescriptionListGroup>
<DescriptionListTerm>{Msg.localize('termsOfService')}</DescriptionListTerm>
<DescriptionListDescription>{application.tosUri}</DescriptionListDescription>
</DescriptionListGroup>
}
{application.policyUri &&
<DescriptionListGroup>
<DescriptionListTerm>{Msg.localize('policy')}</DescriptionListTerm>
<DescriptionListDescription>{application.policyUri }</DescriptionListDescription>
</DescriptionListGroup>
}
{application.logoUri &&
<DescriptionListGroup>
<DescriptionListTerm>{Msg.localize('logo')}</DescriptionListTerm>
<DescriptionListDescription><img src={application.logoUri} /></DescriptionListDescription>
</DescriptionListGroup>
}
<DescriptionListGroup> <DescriptionListGroup>
<DescriptionListTerm>{Msg.localize('accessGrantedOn') + ': '}</DescriptionListTerm> <DescriptionListTerm>{Msg.localize('accessGrantedOn') + ': '}</DescriptionListTerm>
<DescriptionListDescription> <DescriptionListDescription>