Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion app/_i18n/i18n.properties
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,6 @@ URL=URL
GeneralInformation=General Information

#XFLD,50: Label for a section
Attachments=Attachments
Attachments=Attachments
uploadStatus=Upload Status
type=Type
117 changes: 81 additions & 36 deletions app/common.cds
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,16 @@ annotate my.Books.attachments with @UI: {
},
LineItem : [
{Value: type, @HTML5.CssDefaults: {width: '10%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '25%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '20%'}},
{Value: content, @HTML5.CssDefaults: {width: '0%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '20%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '20%'}},
{Value: note, @HTML5.CssDefaults: {width: '25%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '15%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '15%'}},
{Value: note, @HTML5.CssDefaults: {width: '20%'}},
{
Value : uploadStatus,
Criticality: uploadStatusNav.criticality,
@Common.FieldControl: #ReadOnly,
@HTML5.CssDefaults: {width: '20%'} },
{
$Type : 'UI.DataFieldForAction',
Label : 'Copy Attachments',
Expand Down Expand Up @@ -154,11 +159,16 @@ annotate my.Books.references with @UI: {
},
LineItem : [
{Value: type, @HTML5.CssDefaults: {width: '10%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '25%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '20%'}},
{Value: content, @HTML5.CssDefaults: {width: '0%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '20%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '20%'}},
{Value: note, @HTML5.CssDefaults: {width: '25%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '15%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '15%'}},
{Value: note, @HTML5.CssDefaults: {width: '20%'}},
{
Value : uploadStatus,
Criticality: uploadStatusNav.criticality,
@Common.FieldControl: #ReadOnly,
@HTML5.CssDefaults: {width: '20%'} },
{
$Type : 'UI.DataFieldForAction',
Label : 'Copy Attachments',
Expand Down Expand Up @@ -229,11 +239,16 @@ annotate my.Books.footnotes with @UI: {
},
LineItem : [
{Value: type, @HTML5.CssDefaults: {width: '10%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '25%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '20%'}},
{Value: content, @HTML5.CssDefaults: {width: '0%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '20%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '20%'}},
{Value: note, @HTML5.CssDefaults: {width: '25%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '15%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '15%'}},
{Value: note, @HTML5.CssDefaults: {width: '20%'}},
{
Value : uploadStatus,
Criticality: uploadStatusNav.criticality,
@Common.FieldControl: #ReadOnly,
@HTML5.CssDefaults: {width: '20%'} },
{
$Type : 'UI.DataFieldForAction',
Label : 'Copy Attachments',
Expand Down Expand Up @@ -304,11 +319,16 @@ annotate my.Chapters.attachments with @UI: {
},
LineItem : [
{Value: type, @HTML5.CssDefaults: {width: '10%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '25%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '20%'}},
{Value: content, @HTML5.CssDefaults: {width: '0%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '20%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '20%'}},
{Value: note, @HTML5.CssDefaults: {width: '25%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '15%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '15%'}},
{Value: note, @HTML5.CssDefaults: {width: '20%'}},
{
Value : uploadStatus,
Criticality: uploadStatusNav.criticality,
@Common.FieldControl: #ReadOnly,
@HTML5.CssDefaults: {width: '20%'} },
{
$Type : 'UI.DataFieldForAction',
Label : 'Copy Attachments',
Expand Down Expand Up @@ -378,11 +398,16 @@ annotate my.Chapters.references with @UI: {
},
LineItem : [
{Value: type, @HTML5.CssDefaults: {width: '10%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '25%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '20%'}},
{Value: content, @HTML5.CssDefaults: {width: '0%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '20%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '20%'}},
{Value: note, @HTML5.CssDefaults: {width: '25%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '15%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '15%'}},
{Value: note, @HTML5.CssDefaults: {width: '20%'}},
{
Value : uploadStatus,
Criticality: uploadStatusNav.criticality,
@Common.FieldControl: #ReadOnly,
@HTML5.CssDefaults: {width: '20%'} },
{
$Type : 'UI.DataFieldForAction',
Label : 'Copy References',
Expand Down Expand Up @@ -452,11 +477,16 @@ annotate my.Chapters.footnotes with @UI: {
},
LineItem : [
{Value: type, @HTML5.CssDefaults: {width: '10%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '25%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '20%'}},
{Value: content, @HTML5.CssDefaults: {width: '0%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '20%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '20%'}},
{Value: note, @HTML5.CssDefaults: {width: '25%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '15%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '15%'}},
{Value: note, @HTML5.CssDefaults: {width: '20%'}},
{
Value : uploadStatus,
Criticality: uploadStatusNav.criticality,
@Common.FieldControl: #ReadOnly,
@HTML5.CssDefaults: {width: '20%'} },
{
$Type : 'UI.DataFieldForAction',
Label : 'Copy Footnotes',
Expand Down Expand Up @@ -526,11 +556,16 @@ annotate my.Pages.attachments with @UI: {
},
LineItem : [
{Value: type, @HTML5.CssDefaults: {width: '10%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '25%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '20%'}},
{Value: content, @HTML5.CssDefaults: {width: '0%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '20%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '20%'}},
{Value: note, @HTML5.CssDefaults: {width: '25%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '15%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '15%'}},
{Value: note, @HTML5.CssDefaults: {width: '20%'}},
{
Value : uploadStatus,
Criticality: uploadStatusNav.criticality,
@Common.FieldControl: #ReadOnly,
@HTML5.CssDefaults: {width: '20%'} },
{
$Type : 'UI.DataFieldForAction',
Label : 'Copy Attachments',
Expand Down Expand Up @@ -600,11 +635,16 @@ annotate my.Pages.references with @UI: {
},
LineItem : [
{Value: type, @HTML5.CssDefaults: {width: '10%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '25%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '20%'}},
{Value: content, @HTML5.CssDefaults: {width: '0%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '20%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '20%'}},
{Value: note, @HTML5.CssDefaults: {width: '25%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '15%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '15%'}},
{Value: note, @HTML5.CssDefaults: {width: '20%'}},
{
Value : uploadStatus,
Criticality: uploadStatusNav.criticality,
@Common.FieldControl: #ReadOnly,
@HTML5.CssDefaults: {width: '20%'} },
{
$Type : 'UI.DataFieldForAction',
Label : 'Copy References',
Expand Down Expand Up @@ -674,11 +714,16 @@ annotate my.Pages.footnotes with @UI: {
},
LineItem : [
{Value: type, @HTML5.CssDefaults: {width: '10%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '25%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '20%'}},
{Value: content, @HTML5.CssDefaults: {width: '0%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '20%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '20%'}},
{Value: note, @HTML5.CssDefaults: {width: '25%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '15%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '15%'}},
{Value: note, @HTML5.CssDefaults: {width: '20%'}},
{
Value : uploadStatus,
Criticality: uploadStatusNav.criticality,
@Common.FieldControl: #ReadOnly,
@HTML5.CssDefaults: {width: '20%'} },
{
$Type : 'UI.DataFieldForAction',
Label : 'Copy Footnotes',
Expand Down
6 changes: 6 additions & 0 deletions db/data/sap.attachments-UploadScanStates.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
code;name;criticality
uploading;Uploading;5
Success;Success;3
Failed;Scan failed;2
VirusDetected;Virus Detected;1
VirusScanInprogress;Virus Scan In Progress(refresh page);5