Skip to content

Commit

Permalink
document: display holding electronic location
Browse files Browse the repository at this point in the history
Co-Authored-by: Bertrand Zuchuat <[email protected]>
Co-Authored-by: Alicia Zangger <[email protected]>
  • Loading branch information
Garfield-fr and Alicia Zangger committed Sep 27, 2019
1 parent 483c547 commit 9563386
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,19 @@ <h3>
<!-- Card body -->
<div id="collapse-{{ holding.pid }}" data-holding-id="{{ holding.pid }}" class="collapse show" role="tabpanel">
<div class="card-body p-2">
<!-- display holding electronic location -->
{% if record.harvested %}
{% for elocation in holding.electronic_location %}
<div class="row my-2">
<div class="col-1">
&nbsp;
</div>
<div class="col-10">
<a href="{{ elocation.uri }}" target="_blank">{{ _(elocation.source) }}</a>
</div>
</div>
{% endfor %}
{% endif %}
<!-- display items -->
{% if number_items > 0 %}
{% for item in items %}
Expand Down Expand Up @@ -301,4 +314,4 @@ <h3 class="d-inline-block">{{ _('Export Formats') }}:</h3>
{{ super() }}
{% assets "rero_ils_documents_detailed_js" %}
<script src="{{ ASSET_URL }}"></script>{% endassets %}
{%- endblock javascript %}
{%- endblock javascript %}

0 comments on commit 9563386

Please sign in to comment.