Add column labels for age and lifetime (#419)

Co-authored-by: Christian Georgi <chgeo@users.noreply.github.com>
This commit is contained in:
Pierre Fritsch
2022-11-08 14:23:44 +01:00
committed by GitHub
parent 0ad8baefc7
commit ad76c699c9
2 changed files with 6 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ DateOfDeath = Date of Death
PlaceOfBirth = Place of Birth
PlaceOfDeath = Place of Death
Age = Age
Lifetime = Lifetime
Authors = Authors
Order = Order
Orders = Orders

View File

@@ -43,5 +43,10 @@ extend sap.capire.bookshop.Authors with {
virtual lifetime : String;
}
annotate AdminService.Authors with {
age @Common.Label : '{i18n>Age}';
lifetime @Common.Label : '{i18n>Lifetime}'
}
// Workaround for Fiori popup for asking user to enter a new UUID on Create
annotate AdminService.Authors with { ID @Core.Computed; }