From 66d5964d74000525ffc581e1775b124eb572a4cc Mon Sep 17 00:00:00 2001 From: Bertrand Zuchuat Date: Fri, 27 Sep 2019 08:50:57 +0200 Subject: [PATCH] document: display holding electronic location Co-Authored-by: Bertrand Zuchuat Co-Authored-by: Alicia Zangger --- rero_ils/manual_translations.txt | 4 ++++ .../rero_ils/detailed_view_documents.html | 15 ++++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/rero_ils/manual_translations.txt b/rero_ils/manual_translations.txt index 3b34794cb2..d4b86b2dfb 100644 --- a/rero_ils/manual_translations.txt +++ b/rero_ils/manual_translations.txt @@ -67,3 +67,7 @@ _('bf:Publication') _('bf:Manufacture') _('bf:Distribution') _('bf:Production') + +# Harvested source +_('ebibliomedia') +_('mv-cantook') diff --git a/rero_ils/modules/documents/templates/rero_ils/detailed_view_documents.html b/rero_ils/modules/documents/templates/rero_ils/detailed_view_documents.html index ec2cddaffa..e83bc3d67b 100644 --- a/rero_ils/modules/documents/templates/rero_ils/detailed_view_documents.html +++ b/rero_ils/modules/documents/templates/rero_ils/detailed_view_documents.html @@ -216,6 +216,19 @@

+ + {% if record.harvested %} + {% for elocation in holding.electronic_location %} +
+
+   +
+ +
+ {% endfor %} + {% endif %} {% if number_items > 0 %} {% for item in items %} @@ -301,4 +314,4 @@

{{ _('Export Formats') }}:

{{ super() }} {% assets "rero_ils_documents_detailed_js" %} {% endassets %} -{%- endblock javascript %} \ No newline at end of file +{%- endblock javascript %}