From fe3ae0e8b4ff88da790e56259614cd83c8f4aa01 Mon Sep 17 00:00:00 2001 From: Nicolas Boulay Date: Wed, 19 Mar 2025 13:20:05 -0400 Subject: [PATCH] Add an input to show/hide the badge on file component --- .../process-page/detail/process-detail.component.html | 2 +- .../file-download-link.component.html | 4 +++- .../file-download-link.component.ts | 5 +++++ .../themed-file-download-link.component.ts | 11 ++++++++++- .../upload/file/section-upload-file.component.html | 2 +- 5 files changed, 20 insertions(+), 4 deletions(-) diff --git a/src/app/process-page/detail/process-detail.component.html b/src/app/process-page/detail/process-detail.component.html index d984df0e9b..68a5877d0a 100644 --- a/src/app/process-page/detail/process-detail.component.html +++ b/src/app/process-page/detail/process-detail.component.html @@ -29,7 +29,7 @@ [title]="'process.detail.output-files'">
@for (file of files; track file; let last = $last) { - + {{getFileName(file)}} ({{(file?.sizeBytes) | dsFileSize }}) diff --git a/src/app/shared/file-download-link/file-download-link.component.html b/src/app/shared/file-download-link/file-download-link.component.html index 72153716e0..ca15dd93a8 100644 --- a/src/app/shared/file-download-link/file-download-link.component.html +++ b/src/app/shared/file-download-link/file-download-link.component.html @@ -1,4 +1,6 @@ - +@if (showAccessStatusBadge) { + +} + [bitstream]="getBitstream()" [enableRequestACopy]="false" [showAccessStatusBadge]="false">