From eef0d48fb2ad2d7f4a760ad86e75dc4cbd192a3d Mon Sep 17 00:00:00 2001 From: Renaud Michotte Date: Wed, 14 Apr 2021 19:33:38 +0200 Subject: [PATCH] issue: fix issue display problems. * Fixes some problems about the issue display on field `received_date` and `status_date`. * Related to issue rero/rero-ils#1654 (but not fix it). Co-Authored-by: Renaud Michotte --- .../item-detail-view.component.html | 143 ++++++++---------- .../item-detail-view.component.ts | 15 +- 2 files changed, 66 insertions(+), 92 deletions(-) diff --git a/projects/admin/src/app/record/detail-view/item-detail-view/item-detail-view.component.html b/projects/admin/src/app/record/detail-view/item-detail-view/item-detail-view.component.html index 3f2efb284..7c4df35a3 100644 --- a/projects/admin/src/app/record/detail-view/item-detail-view/item-detail-view.component.html +++ b/projects/admin/src/app/record/detail-view/item-detail-view/item-detail-view.component.html @@ -16,40 +16,34 @@ --> -
-

{{ 'Barcode' | translate }} {{ record.metadata.barcode }}

-
+
+

{{ 'Barcode' | translate }} {{ record.metadata.barcode }}

+
-
+
-
Call number
-
+
Call number
+
-
Second call number
-
- {{ record.metadata.second_call_number }} -
+
Second call number
+
{{ record.metadata.second_call_number }}
-
Unit
-
- {{ record.metadata.enumerationAndChronology }} -
+
Unit
+
{{ record.metadata.enumerationAndChronology }}
-
- Type -
-
+
Type
+
{{ defaultItty }} {{ record.metadata.temporary_item_type.pid | getRecord:'item_types': 'field':'name' | async }} @@ -57,47 +51,35 @@

{{ 'Barcode' | translate }} {{ record.metadata.barcode }}

( {{ endDate | dateTranslate :'shortDate' }})
- - {{ defaultItty }} - + {{ defaultItty }}
-
- Document -
-
+
Document
+
{{ record.metadata.document.pid | getRecord:'documents': 'field' :'title' | async | mainTitle }}
-
- Library -
-
+
Library
+
{{ location.metadata.library.pid | getRecord: 'libraries': 'field': 'name' | async }}
-
- Location -
-
+
Location
+
{{ location.metadata.name }}
-
- Availability -
-
+
Availability
+
-
- New acquisition -
-
+
New acquisition
+