{% extends "list_view.html" %} {% load i18n %} {% block head %}{{ block.super }}{% endblock %} {% comment %} The title and lead text are the vocabulary's own (the view's page title and subtitle). Everything else the page says about the vocabulary sits in the side panel, so the content column is the concept list and nothing else. {% endcomment %} {% block page.results %} {% comment %} A daisyUI list rather than django-mvp's grid of cards: the grid is a
, and list rows are
  • . The empty and no-match states are still django-mvp's own. {% endcomment %} {% if object_list %} {% for object in object_list %} {% include list_item_template with object=object only %} {% endfor %} {% else %} {{ block.super }} {% endif %} {% endblock page.results %} {% block page.toolbar %} {% comment %} django-mvp's list toolbar, with the side panel's button where its Filters button sits, beside the sort. The button shows only while the panel is a closed drawer, below the xl breakpoint. {% endcomment %} {% if filter %}
    {% for field in toolbar_fields %} {% endfor %} {% endif %}
    {% if toolbar_sort %}{% endif %}
    {% endblock page.toolbar %} {% block page.side %} {% comment %} Set as django-mvp's own filter panel on a list page, at the end, but level with the page title, a column from xl, a drawer below it, sticky. Only the label and content differ. {% endcomment %}
    {% trans "Identifier" %}
    {% trans "Language" %}
    {{ language_name }}
    {% trans "Concepts" %}
    {{ concept_count }}
    {% if top_concepts %} {% comment %} Left out of a flat vocabulary, where every concept is a top concept and the list would repeat the one beside it. {% endcomment %}
    {% trans "Top concepts" %}
      {% for concept in top_concepts %}
    • {% endfor %}
    {% endif %}
    {% trans "Collections" %}
    {% if collections %}
      {% for collection in collections %}
    • {% blocktrans count counter=collection.member_count %}{{ counter }} member{% plural %}{{ counter }} members{% endblocktrans %}{% if collection.type == "skos:OrderedCollection" %} · {% trans "ordered" %}{% endif %}
    • {% endfor %}
    {% else %} — {% endif %}
    {% endblock page.side %}