{% 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 %} {% if show_all %} {% endif %} {% for item in page %} {% if show_all %} {% endif %} {% endfor %}
{% trans 'Workgroup' %} {% if sort == "name_asc" %} {% elif sort == "name_desc" %} {% else %} {% endif %} {% trans 'Definition' %} {% if sort == "users_asc" %} {% elif sort == "users_desc" %} {% else %} {% endif %} {% if sort == "items_asc" %} {% elif sort == "items_desc" %} {% else %} {% endif %} {% trans "Status" %}
{{ item.name }} {{ item.definition|striptags|safe|truncatewords:50 }} {{ item.members.count }} {{ item.items.count }} {% if item.archived %} {% trans "Archived" %} {% else %} {% trans "Active" %} {% endif %} Edit
{% include "aristotle_mdr/helpers/paginator.html" with page=page %}