{% extends "base.html" %} {% block page_title %}{{ _('Group: {name}')|f(name=group.name) }}{% endblock %} {% block body_id %}group-show{% endblock %} {% block body_class %} {{ super() }} search-page {% endblock %} {% block messages %} {% if invitation %}
You have been invited to join this group.
Accept Reject
{% endif %} {{ super() }} {% endblock messages %} {% block content %}

{% if group.functional_area %} {{ _('Functional Area') }}: {% else %} {{ _('Group') }}: {% endif %} {{ group.name }}

{% if show_delete_group_button %}
{% csrf_token %}
{% endif %} {% if is_curator %} {{ _('Edit Group') }} {% endif %} {% if waffle.flag('force_group_invalidation') %} Invalidate Group {% endif %} {% if group.description %}

{{ group.description }}

{% endif %} {% if group.new_member_criteria %}

{{ _('New Member Criteria') }}:
{{ group.new_member_criteria }}

{% endif %} {% set curators = group.curators.all() %} {% if curators %} {# curated group #}

{% if group.functional_area %} {{ _('Community Steward') }} {% elif curators|length > 1 %} {{ _('Curators') }} {% else %} {{ _('Curator') }} {% endif %}

{% set show_curators_details = curators.count() < 4 %} {% for curator in curators %}
{% if show_curators_details %} {% endif %}
{% endfor %}
{% endif %}
{% if show_join_button %}
{% csrf_token %}
{% endif %} {% if show_leave_button %}
{% csrf_token %}
{% endif %} {% if membership_filter_form %}
{{ membership_filter_form }}
{% endif %} {% if not people.paginator.count %}
{% if membership_filter_form %} {% if membership_filter_form.filtr.value() == 'pending_members' %} {% trans group_name=group.name %} There are no open membership requests for {{ group_name }}. {% endtrans %} {% elif membership_filter_form.filtr.value() == 'pending_terms' %} {% trans group_name=group.name %} There are no users who haven't accepted {{ group_name }}'s terms. {% endtrans %} {% elif membership_filter_form.filtr.value() == 'needs_renewal' %} {% trans group_name=group.name %} There are no pending renewals for {{ group_name }}. {% endtrans %} {% else %} {% trans group_name=group.name %} Sorry, we can not find any mozillians in {{ group_name }}. {% endtrans %} {% endif %} {% endif %}
{% else %} {% with items=people %} {% include 'includes/pagination.html' %} {% endwith %}

{% if group.functional_area %} {{ _('Functional Area Members') }} {% else %} {{ _('Group Members') }} {% endif %}

{% if is_pending %}
{{ _('Your membership request is pending approval by the group curator.') }}
{% endif %}
{% for membership in people %} {{ search_result(membership.userprofile) }} {% endfor %}
{% with items=people %} {% include 'includes/pagination.html' %} {% endwith %} {% endif %} {% endblock content %} {% block page_js %} {% compress js %} {% endcompress %} {% endblock %}