{% load base_filters %} {% if MODULE_CHAPTERS_MEMBERSHIPSENABLED %}

{% trans 'Chapter Memberships' %}

{% with profile.chapter_memberships as chapter_memberships %} {% if chapter_memberships %}
{% for chapter_membership in chapter_memberships %} {% endfor %}
{{ chapter_membership.chapter.title }} {{ chapter_membership.join_dt|date:"M j, Y" }} {% if not chapter_membership.is_pending %} - {% firstof chapter_membership.expire_dt|date:"M j, Y" "Forever" %} + (grace period: {{ chapter_membership.membership_type.expiration_grace_period }} days) {% endif %} {{ chapter_membership.get_status|capfirst}} {% with chapter_membership.invoice as invoice %} {% if invoice %} {% trans 'Balance' %} {{ invoice.balance|format_currency }} {% endif %} {% endwith %}
{% else %}

{% trans 'Not a chapter member.' %}

{% endif %} {% endwith %} {% endif %}