Fix Labels and Descriptions in OrgBook
Closed this issue · 0 comments
ianco commented
Labels and Descriptions are submitted by the issuing agent (configured in their schemas.yml file) however these are not showing up in OrgBook.
The infrastructure is there to use labels from the schemas.yml, but the UI isn't substituting them yet apart from category values. The main issue is that it needs the credential type ID every time in order to do the translation, which makes it harder to use in the context of custom HTML templates. Adding a custom pipe might help with that usage but it would still be something like {{'organization_id' | claimLabel: record.credential_type_id}}. Translating the labels in the generated attribute list on the (standard) credential detail form is probably a bit easier.