{% load i18n aristotle_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 %} {% for item in page %} {% endfor %}
{% trans 'Workgroup' %} {% if sort == "name_asc" %} {% elif sort == "name_desc" %} {% else %} {% endif %} {% trans 'Ownership' %} {% trans 'Registration Authorities' %} {% if sort == "users_asc" %} {% elif sort == "users_desc" %} {% else %} {% endif %} {% if sort == "items_asc" %} {% elif sort == "items_desc" %} {% else %} {% endif %}
{{ item.name }} {{ item.definition|striptags|safe|truncatewords:15 }} {{ item.get_ownership_display }} {% if item.registrationAuthorities %}
    {% for ra in item.registrationAuthorities.all %}
  • {{ ra.name }}
  • {% endfor %}
{% else %} {% trans 'None' %} {% endif %}
{{ item.members.count }} {{ item.items.count }}
{% include "aristotle_mdr/helpers/paginator.html" with page=page %}