From 0a5e73b2e889b5ff057cebe01990859b0d933a3a Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 5 Sep 2016 11:39:14 +0200 Subject: Source sheet: author link to persons (refs #3180) --- ishtar_common/templates/ishtar/blocks/window_field_multiple.html | 2 +- ishtar_common/templates/ishtar/blocks/window_field_url.html | 2 +- ishtar_common/templates/ishtar/sheet_source.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/ishtar/blocks/window_field_multiple.html b/ishtar_common/templates/ishtar/blocks/window_field_multiple.html index d1ee25c7b..cc817490c 100644 --- a/ishtar_common/templates/ishtar/blocks/window_field_multiple.html +++ b/ishtar_common/templates/ishtar/blocks/window_field_multiple.html @@ -1,6 +1,6 @@ {% load i18n %}{% if data.count %}{% if li %}
  • {% else %}

    {% endif %} {% for d in data.all %} - {% if forloop.counter0 %}, {% endif %}{{ d }} + {% if forloop.counter0 %} ; {% endif %}{{ d }} {% endfor %} {% if li %}

  • {% else %}

    {% endif %} {% endif %} diff --git a/ishtar_common/templates/ishtar/blocks/window_field_url.html b/ishtar_common/templates/ishtar/blocks/window_field_url.html index 637366d1d..d63ebdca9 100644 --- a/ishtar_common/templates/ishtar/blocks/window_field_url.html +++ b/ishtar_common/templates/ishtar/blocks/window_field_url.html @@ -1,3 +1,3 @@ {% load i18n %}{% if link %}{% if li %}
  • {% else %}

    {% endif %}

    -{% if link_name %}{{link_name}}{% else %}{% trans "link" %}{% endif %}{% if li %}

  • {% else %}

    {% endif %} +{% if link_name %}{{link_name}}{% else %}{{link}}{% endif %}{% if li %}{% else %}

    {% endif %} {% endif%} diff --git a/ishtar_common/templates/ishtar/sheet_source.html b/ishtar_common/templates/ishtar/sheet_source.html index 653087753..7d291f37f 100644 --- a/ishtar_common/templates/ishtar/sheet_source.html +++ b/ishtar_common/templates/ishtar/sheet_source.html @@ -10,7 +10,7 @@ {% field "Format type" item.format_type %} {% field "Scale" item.scale %} {% field_url "Web link" item.associated_url %} -{% field_multiple "Authors" item.authors %} +{% field "Authors" item.authors|add_links:'person' %} {% field "Item number" item.item_number %} {% field "Ref." item.reference %} {% field "Internal ref." item.internal_reference %} -- cgit v1.2.3