{% if admin is not null and app.user is not null and admin == app.user%}
{% include 'community/statistic.html.twig' %}
{% endif %}
{% if community.public == false %}
{{ 'user.last'|trans({}, 'Academia') }}
{% for communityMember in communityMembers %}
{% include 'community/member.html.twig' with {'user':communityMember.user} %}
{% endfor %}
{% if communityMembers|length == 0 %}
{{ 'error.result.notfound'|trans }}
{% endif %}
{% if admin is not null and app.user is not null and admin == app.user %}
{{ 'form.member.add'|trans }}
{% include 'community/add_user_form.html.twig' with {'form':userForm, 'formName':'userForm', 'hidden':true, 'route':route, 'userType': "_all" } %}
{#
{{ 'form.member.add_interested'|trans }}
{% include 'community/add_user_form.html.twig' with {'form':interestedUserForm, 'formName':'interestedUserForm', 'hidden':true, 'route':route, 'userType': "suggest" } %}
#}
{% endif %}
{% endif %}
{% if app.user is not null and (isMember or isAdmin) %}
{% include 'community/question_form.html.twig' %}
{% endif %}
{% if communityQuestions|length == 0 %}
{{ 'error.question.notfound'|trans }}
{% else %}
{% include 'community/question_filter_form.html.twig' %}
{% for communityQuestion in communityQuestions %}
{% include 'community/question.html.twig' with {'question':communityQuestion, 'alias':community.alias, 'publishin':false } %}