Skip to content

Commit

Permalink
entity: add display for new types
Browse files Browse the repository at this point in the history
* Adds the display Place, Temploral for the remote entity.

Co-Authored-by: Bertrand Zuchuat <[email protected]>
  • Loading branch information
Garfield-fr committed Oct 10, 2023
1 parent 07a8796 commit 2b1217e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ <h1 class="mb-0">
<!-- Common fields for all types -->
{{ dl(_('Source catalog'), record.source_catalog) }}
{% if record.identifier %}
<dt>{{ _('Identifier') }}</dt>
<dd>
<dt class="col-md-3 col-lg-3 rero-ils-term mb-1">{{ _('Identifier') }}</dt>
<dd class="col-md-9 col-lg-9 mb-1">
{{ _(record.identifier.type) }} - {{ record.identifier.value }}
{% if record.identifier.source %}({{ record.identifier.source }}){% endif %}
</dd>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h1 class="mb-0">
{% include 'rero_ils/_remote_organisation.html' %}
{% elif record['type'] == 'bf:Person' %}
{% include 'rero_ils/_remote_person.html' %}
{% elif record['type'] == 'bf:Topic' %}
{% elif record['type'] in ['bf:Place', 'bf:Temporal', 'bf:Topic'] %}
{% include 'rero_ils/_remote_topic.html' %}
{% endif %}
<!-- Common fields for all types -->
Expand Down

0 comments on commit 2b1217e

Please sign in to comment.