From 63b87da5f3913aabd76c38a7ae21b983f211acc5 Mon Sep 17 00:00:00 2001 From: 4gray Date: Thu, 30 Jul 2026 22:11:57 +0200 Subject: [PATCH] refactor(downloads): simplify ready cards --- .../src/lib/download-library.component.html | 72 +++++++++++++------ .../src/lib/download-library.component.scss | 27 ------- .../lib/download-library.component.spec.ts | 65 +++++++++++++++++ .../src/lib/download-library.component.ts | 2 + 4 files changed, 119 insertions(+), 47 deletions(-) diff --git a/libs/portal/downloads/feature/src/lib/download-library.component.html b/libs/portal/downloads/feature/src/lib/download-library.component.html index d73c3b1f4..ef9e46df5 100644 --- a/libs/portal/downloads/feature/src/lib/download-library.component.html +++ b/libs/portal/downloads/feature/src/lib/download-library.component.html @@ -72,12 +72,6 @@ } - - - {{ 'DOWNLOADS.OFFLINE' | translate }} -
@@ -169,14 +163,59 @@ }
- @if (entity.sourceName.trim()) { - {{ entity.sourceName }} - - } {{ formatBytes(entity.trackedBytes) }}
+
+ + + + + +
} @else { @@ -253,12 +292,6 @@ } - - - {{ 'DOWNLOADS.OFFLINE' | translate }} -
@@ -316,10 +349,6 @@ }