{% extends 'base.html.twig' %} {% trans_default_domain "community" %} {% block title %} {{ app.request.locale == "ar" ? community.title:community.englishTitle }} {% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block body %}
{{ include('community/header.html.twig') }}

{{ 'member.active'|trans }}

{% for communityMember in approvedMembers %}
{% include 'community/member.html.twig' with {'user':communityMember.user} %}
{% if admin is not null and app.user is not null and admin == app.user %} {% endif %}

{% endfor %} {% if approvedMembers|length == 0 %}

{{ 'error.result.notfound'|trans }}

{% endif %}
{#

{{ 'member.unactive'|trans }}

{% for communityMember in unapprovedMembersReceive %}
{% include 'community/member.html.twig' with {'user':communityMember.user} %}

{% endfor %} {% if unapprovedMembersReceive|length == 0 %}

{{ 'error.result.notfound'|trans }}

{% endif %}
#} {% if admin is not null and app.user is not null and admin == app.user %}

{{ 'member.unactive-send'|trans }}

{% for communityMember in unapprovedMembersSend %}
{% include 'community/member.html.twig' with {'user':communityMember.user} %}

{% endfor %} {% if unapprovedMembersSend|length == 0 %}

{{ 'error.result.notfound'|trans }}

{% endif %}
{% endif %}
{% endblock %}