{% load i18n aristotle_tags util_tags %} {% if page.has_other_pages %} Showing {{ page.start_index }} - {{ page.end_index }} of {{ page.paginator.count }} results. {% else %} Showing {{ page.paginator.count }} results. {% endif %} {% if delete %} {% endif %} {# End pagination #} {% with favourites=request.user.profile.favourite_item_pks %} {% for item in page %} {% if delete %} {% endif %} {% endfor %} {% endwith %}
{# If you want to use the fancy js make sure you render the webpack bundle in your template #} {% if js_select_all %} {# Don't render anything #} {% elif allow_select_all %} {% endif %} {# Pagination begins here #} {% if sort == "name_asc" %} {% elif sort == "name_desc" %} {% else %} {% endif %} {% trans 'Name' %} {% trans 'Details' %} {% trans 'Statuses' %} {% if sort == "mod_asc" %} {% elif sort == "mod_desc" %} {% else %} {% endif %} {% trans 'Last modified' %}{% trans 'Delete' %}
{% if not hide_checkbox %} {% endif %} {% if item.is_registered %} {% else %} {% endif %} {% if not hide_favourites %} {% if request.user.is_active %} {% with is_favourite=item.id|is_in:favourites %} {% if is_favourite %} {% else %} {% endif %} {% endwith %} {% endif %} {% endif %} {% include "aristotle_mdr/helpers/itemLink.html" with item=item shared_items=shared_items skip_can_view=skip_can_view %}
{{ item.item_type_name }}
{% include item.item.list_details_template with item=item %}
    {% for s in item.current_statuses %}
  • {{ s.registrationAuthority }}: {{ s.state_name }}
  • {% empty %}
  • Unregistered
  • {% endfor %}
Delete
{% include "aristotle_mdr/helpers/paginator.html" with page=page %}