{% load i18n l10n %} {% if display_relations %}

{% trans "Relations"%}

{% for rel in item.right_relations.all %} {% ifchanged rel.relation_type %} {% if forloop.counter0 %}{% endif %}

{{rel.relation_type}}

{% endifchanged %}
{{rel.right_record}}
{% if forloop.last %}
{% endif %} {% endfor %} {% else %} {% endif %}