From 1ed776320c52a35cdd88e6de1e2b88da7f0bb106 Mon Sep 17 00:00:00 2001 From: Pascal Repond Date: Thu, 5 Sep 2024 16:25:32 +0200 Subject: [PATCH] fix(entities): add fields in pro detailed view * Adds fields narrower, closeMatch and exactMatch in topic and places entity detailed views. Co-Authored-by: Pascal Repond --- .../remote-topic-detail-view.component.html | 41 ++++++++++++++++++- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/projects/admin/src/app/record/detail-view/entities-detail-view/remote/remote-topic-detail-view/remote-topic-detail-view.component.html b/projects/admin/src/app/record/detail-view/entities-detail-view/remote/remote-topic-detail-view/remote-topic-detail-view.component.html index 3b1e56e4a..b8f9603ea 100644 --- a/projects/admin/src/app/record/detail-view/entities-detail-view/remote/remote-topic-detail-view/remote-topic-detail-view.component.html +++ b/projects/admin/src/app/record/detail-view/entities-detail-view/remote/remote-topic-detail-view/remote-topic-detail-view.component.html @@ -22,7 +22,7 @@ } @if (record.variant_access_point) { -
Variant access point(s)
+
Variant access point
    @for (variant_access_point of record.variant_access_point; track variant_access_point) { @@ -42,6 +42,17 @@
} + +@if (record.narrower) { +
Narrower
+
+
    + @for (narrower of record.narrower; track narrower) { +
  • {{ narrower.authorized_access_point }}
  • + } +
+
+} @if (record.related) {
Related
@@ -56,7 +67,7 @@ @if (record.classification) { -
Classification(s)
+
Classification
    @for (classification of record.classification; track classification) { @@ -75,3 +86,29 @@
} + +@if (record.closeMatch) { +
Close match
+
+
    + @for (closeMatch of record.closeMatch; track closeMatch) { +
  • + {{ closeMatch.source }}: {{ closeMatch.authorized_access_point }} +
  • + } +
+
+} + +@if (record.exactMatch) { +
Exact match
+
+
    + @for (exactMatch of record.exactMatch; track exactMatch) { +
  • + {{ exactMatch.source }}: {{ exactMatch.authorized_access_point }} +
  • + } +
+
+}