diff --git a/src-ui/src/app/components/common/share-bundle-manage-dialog/share-bundle-manage-dialog.component.html b/src-ui/src/app/components/common/share-bundle-manage-dialog/share-bundle-manage-dialog.component.html index 297d4d0b5..19ec24aae 100644 --- a/src-ui/src/app/components/common/share-bundle-manage-dialog/share-bundle-manage-dialog.component.html +++ b/src-ui/src/app/components/common/share-bundle-manage-dialog/share-bundle-manage-dialog.component.html @@ -16,6 +16,11 @@ } @if (!loading && !error) { +
+

+ Status updates every few seconds while bundles are being prepared. +

+
@if (bundles.length === 0) {

No bulk share links currently exist.

} @@ -26,17 +31,42 @@ Created Status + Size Expires Documents - Actions + File version + Actions @for (bundle of bundles; track bundle.id) { - {{ bundle.created | date: 'short' }} - {{ bundle.status }} +
{{ bundle.created | date: 'short' }}
+ @if (bundle.built_at) { +
+ Built: {{ bundle.built_at | date: 'short' }} +
+ } + + +
+ @if (bundle.status === statuses.Processing || bundle.status === statuses.Pending) { + + } + {{ statusLabel(bundle.status) }} +
+ @if (bundle.last_error && bundle.status === statuses.Failed) { +
{{ bundle.last_error }}
+ } + + + @if (bundle.size_bytes !== undefined && bundle.size_bytes !== null) { + {{ bundle.size_bytes | fileSize }} + } + @if (bundle.size_bytes === undefined || bundle.size_bytes === null) { + + } @if (bundle.expiration) { @@ -47,11 +77,13 @@ } {{ bundle.document_count }} - + {{ fileVersionLabel(bundle.file_version) }} +
+ @if (bundle.status === statuses.Failed) { + + }