{% load humanize %} {% with singular_suffix|add:","|add:plural_suffix as pluralize_rule %} {# Non-Mobile: show button group with counts and link to admin #}
{{ list_count|intcomma }} {{ label }}{{ list_count|pluralize:pluralize_rule }} {% if user.is_staff %} {% endif %}
{# Mobile: show simplified full-width button #} {{ label|add:plural_suffix }} {% endwith %}