From ed7f110577c5d4df2cbde9330275e11f60326476 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Marie=CC=81thoz?= Date: Wed, 8 Jan 2025 13:59:14 +0100 Subject: [PATCH] primeng: admin stat configurations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-by: Johnny MarieĢthoz Co-Authored-by: Bertrand Zuchuat --- .../statistics-cfg-brief-view-component.ts | 22 +++---- .../report-data/report-data.component.html | 2 +- .../reports-list/reports-list.component.html | 4 +- .../statistics-cfg-detail-view.component.html | 63 +++++++++---------- 4 files changed, 45 insertions(+), 46 deletions(-) diff --git a/projects/admin/src/app/record/brief-view/statistics-cfg-brief-view-component.ts b/projects/admin/src/app/record/brief-view/statistics-cfg-brief-view-component.ts index c42d9ba57..1241c29f6 100644 --- a/projects/admin/src/app/record/brief-view/statistics-cfg-brief-view-component.ts +++ b/projects/admin/src/app/record/brief-view/statistics-cfg-brief-view-component.ts @@ -21,23 +21,23 @@ import { ResultItem } from '@rero/ng-core'; @Component({ selector: 'admin-statistics-cfg-brief-view', template: ` -
+
- {{ record.metadata.name }}
-
+ > {{ record.metadata.name }} +
@if (record.metadata.description) {
} -
- Category: {{ record.metadata.category.type | translate }} -
-
- Indicator: {{ record.metadata.category.indicator.type | translate }} -
+
` }) diff --git a/projects/admin/src/app/record/detail-view/statistics-cfg-detail-view/report-data/report-data.component.html b/projects/admin/src/app/record/detail-view/statistics-cfg-detail-view/report-data/report-data.component.html index e94c9d0eb..5324a69cd 100644 --- a/projects/admin/src/app/record/detail-view/statistics-cfg-detail-view/report-data/report-data.component.html +++ b/projects/admin/src/app/record/detail-view/statistics-cfg-detail-view/report-data/report-data.component.html @@ -26,5 +26,5 @@ } @else { -

No result

+

No result

} diff --git a/projects/admin/src/app/record/detail-view/statistics-cfg-detail-view/reports-list/reports-list.component.html b/projects/admin/src/app/record/detail-view/statistics-cfg-detail-view/reports-list/reports-list.component.html index 62651d4cd..837035e81 100644 --- a/projects/admin/src/app/record/detail-view/statistics-cfg-detail-view/reports-list/reports-list.component.html +++ b/projects/admin/src/app/record/detail-view/statistics-cfg-detail-view/reports-list/reports-list.component.html @@ -25,7 +25,7 @@ - + @@ -33,5 +33,5 @@ } @else { -

No result

+

No result

} diff --git a/projects/admin/src/app/record/detail-view/statistics-cfg-detail-view/statistics-cfg-detail-view.component.html b/projects/admin/src/app/record/detail-view/statistics-cfg-detail-view/statistics-cfg-detail-view.component.html index ec566fcd0..609958ac7 100644 --- a/projects/admin/src/app/record/detail-view/statistics-cfg-detail-view/statistics-cfg-detail-view.component.html +++ b/projects/admin/src/app/record/detail-view/statistics-cfg-detail-view/statistics-cfg-detail-view.component.html @@ -15,28 +15,28 @@ along with this program. If not, see . --> @if (record) { -
+

{{ record.metadata.name }}

-
-
-
Library
-
{{ record.metadata.library.$ref | getRecord: 'libraries' : 'field' : 'name' | async }}
+
+ -
+
- + @if (liveData) { - + } @if (liveDataError) {