{% extends base_template %} {% load debusine %} {% block navbar_left %} {{ block.super }} {% include "web/_collection-menu.html" with collection=collection only %} {% endblock %} {% block content %} {% if relation_type %}

Relations of type "{{ relation_type_label }}" only. List all.

{% endif %}
{% for collection_relation in collection_relations %} {% empty %} {% endfor %}
Type Target Position Details Actions
{{ collection_relation.get_type_display }} {{ collection_relation.target }} {{ collection_relation.position|default_if_none:"" }} {% include "web/_collection_relation-details.html" with collection_relation=collection_relation only %} {% ui collection_relation as collection_relation_ui %} {% for shortcut in collection_relation_ui.ui_shortcuts %} {% widget shortcut %} {% endfor %}
{% if relation_type %} Collection {{ collection }} does not have any relations of type {{ relation_type }}.
List all relations for {{ collection }} {% else %} Collection {{ collection }} does not have any relations. {% endif %}
{% if show_create %} Create {% endif %} {% if show_reorder_requires %} Re-order Requires {% endif %}
{% endblock %}