diff --git a/README.md b/README.md index 7a506545..00494b77 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Welcome to the bookshop-java project. It demonstrates how to build business appl - [Demonstrated Features](#demonstrated-features) - [Getting Started](#getting-started) - [Prerequisites](#prerequisites) - - [Clone Build & Run](#clone-build--run) + - [Clone Build & Run](#clone-build-run) - [Using VS Code](#using-vs-code) - [Using Eclipse](#using-eclipse) - [Building and Running](#building-and-running) diff --git a/app/_i18n/i18n.properties b/app/_i18n/i18n.properties index d9718f5a..84a329b5 100644 --- a/app/_i18n/i18n.properties +++ b/app/_i18n/i18n.properties @@ -7,6 +7,7 @@ ModifiedBy = Modified By General = General Details = Details Admin = Administrative +Translations = Translations ID = ID Currency = Currency @@ -68,3 +69,11 @@ AddReview = Add Review Notes = Notes Note = Note ISBN = ISBN + +attachment_content = Content +attachment_mimeType = MIME Type +attachment_fileName = File Name +attachment_status = Status +attachment_note = Note +attachment = Cover +attachments = Covers \ No newline at end of file diff --git a/app/_i18n/i18n_de.properties b/app/_i18n/i18n_de.properties index afdd8243..b9eb4a9c 100644 --- a/app/_i18n/i18n_de.properties +++ b/app/_i18n/i18n_de.properties @@ -7,6 +7,7 @@ ModifiedBy = Bearbeitet von General = Generelles Details = Details Admin = Administratives +Translations = Übersetzungen ID = ID Currency = W\u00E4hrung @@ -68,3 +69,11 @@ AddReview = Rezension hinzufügen Notes = Notizen Note = Notiz ISBN = ISBN + +attachment_content = Inhalt +attachment_mimeType = MIME-Typ +attachment_fileName = Dateiname +attachment_status = Status +attachment_note = Notiz +attachment = Buchcover +attachments = Buchcovers \ No newline at end of file diff --git a/app/admin/fiori-service.cds b/app/admin/fiori-service.cds index 2480f4cc..cec4f215 100644 --- a/app/admin/fiori-service.cds +++ b/app/admin/fiori-service.cds @@ -26,11 +26,16 @@ annotate AdminService.Books with @(UI : { Label : '{i18n>Details}', Target : '@UI.FieldGroup#Details' }, + { + $Type : 'UI.ReferenceFacet', + ID : 'AttachmentsFacet', + Target : 'covers/@UI.LineItem' + }, { $Type : 'UI.ReferenceFacet', Label : '{i18n>Admin}', Target : '@UI.FieldGroup#Admin' - }, + } ], FieldGroup #General : {Data : [ {Value : title}, @@ -131,3 +136,6 @@ annotate AdminService.Books actions { quantity @title : '{i18n>Quantity}' ) } + +// Hides technical field up__ID in View Setitings dialog for Books.covers +annotate AdminService.Books.covers:up_ with @UI.Hidden; diff --git a/app/fiori.html b/app/fiori.html index 4191d16c..7fa46503 100644 --- a/app/fiori.html +++ b/app/fiori.html @@ -14,8 +14,8 @@ }; - - +