{% extends "memberships/base-wide.html" %} {% load membership_tags %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}
{% for type in summary %} {% endfor %}
{% trans 'Type' %} {% trans 'Active' %} {% trans 'Pending' %} {% trans 'Expired' %} {% trans 'Total' %}
{{ type.type.name }} {{ type.active }} {{ type.pending }} {{ type.expired }} {% if type.total %} {{ type.total }} {% else %} {{ type.total }} {% endif %}
{% trans 'Total' %} {% if total.total_active > 0 %} {{ total.total_active }} {% else %} {{ total.total_active }} {% endif %} {% if total.total_pending > 0 %} {{ total.total_pending }} {% else %} {{ total.total_pending }} {% endif %} {% if total.total_expired > 0 %} {{ total.total_expired }} {% else %} {{ total.total_expired }} {% endif %} {{ total.total_total }}

 

{% endblock %} {% block extra_body %} {{ block.super }} {% endblock extra_body %}