Skip to content

Commit

Permalink
fix(entities): add fields in pro detailed view
Browse files Browse the repository at this point in the history
* Adds fields narrower, closeMatch and exactMatch in topic and places
entity detailed views.

Co-Authored-by: Pascal Repond <[email protected]>
  • Loading branch information
PascalRepond committed Sep 25, 2024
1 parent ab7ca5d commit 1ed7763
Showing 1 changed file with 39 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}
<!-- VARIANT ACCESS POINT(S) -->
@if (record.variant_access_point) {
<dt translate>Variant access point(s)</dt>
<dt translate>Variant access point</dt>
<dd>
<ul>
@for (variant_access_point of record.variant_access_point; track variant_access_point) {
Expand All @@ -42,6 +42,17 @@
</ul>
</dd>
}
<!-- NARROWER -->
@if (record.narrower) {
<dt translate>Narrower</dt>
<dd>
<ul>
@for (narrower of record.narrower; track narrower) {
<li>{{ narrower.authorized_access_point }}</li>
}
</ul>
</dd>
}
<!-- RELATED -->
@if (record.related) {
<dt translate>Related</dt>
Expand All @@ -56,7 +67,7 @@

<!-- CLASSIFICATION(S) -->
@if (record.classification) {
<dt translate>Classification(s)</dt>
<dt translate>Classification</dt>
<dd>
<ul>
@for (classification of record.classification; track classification) {
Expand All @@ -75,3 +86,29 @@
</ul>
</dd>
}
<!-- CLOSE MATCH -->
@if (record.closeMatch) {
<dt translate>Close match</dt>
<dd>
<ul>
@for (closeMatch of record.closeMatch; track closeMatch) {
<li>
{{ closeMatch.source }}: {{ closeMatch.authorized_access_point }}
</li>
}
</ul>
</dd>
}
<!-- EXACT MATCH -->
@if (record.exactMatch) {
<dt translate>Exact match</dt>
<dd>
<ul>
@for (exactMatch of record.exactMatch; track exactMatch) {
<li>
{{ exactMatch.source }}: {{ exactMatch.authorized_access_point }}
</li>
}
</ul>
</dd>
}

0 comments on commit 1ed7763

Please sign in to comment.