{% extends 'base.html.twig' %} {% block title %}Annuaire{% endblock %} {% block body %}
{% include 'utils/file.ariane.html.twig' %}

Annuaire - EELO


{% if secure.havePermission(constant('_ADD_SERV_GEST_USER', app_const)) %}
Nouvelle

{% endif %}
{{ form_start(form) }}
{{ form_widget(form.searchValue) }}
{{ form_end(form) }}


{% set navItem = ['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'] %}
{% if result.elements|length <= 0 %}

Aucun contact trouvé


Ajouter un contact {% else %}
{% for obj in result.elements %}

{% if loop.index == 1 %}
{% else %}
{% endif %}
{% if obj.avatar %} {% else %} Aucun avatar {% endif %} {% if secure.havePermission(constant('_UPDATE_SERV_GEST_USER', app_const)) %} Changer {% endif %} {% if obj.avatar != "/images/default-avatar.png" and secure.havePermission(constant('_REMOVE_SERV_GEST_USER', app_const)) %} Supprimer {% endif %}

{{ obj.prenom }} {{ obj.nom }}



{% if obj.adresse %}
{{ obj.adresse }}

{% endif %}
{% if obj.isMembre %} Membre de l'église {% endif %}
{% if obj.isConseil %} Membre du conseil {% endif %}
{% if obj.profile %} Profile utilisateur
{% endif %}

{% if secure.havePermission(constant('_UPDATE_SERV_GEST_USER', app_const)) or secure.havePermission(constant('_REMOVE_SERV_GEST_USER', app_const)) %}
{% endif %}
{% if obj.description != null and obj.description|trim|length > 0 %}

{{ obj.description|raw }}

{% else %}

Pas de description.

{% endif %}
{% include 'personne/adressPage.html.twig' with {'obj': obj } %}
{% endfor %}
{% endif %}


{% include 'utils/pagination.html.twig' with {'url': '/personne/liste/' ~ groupe } %}
{# =================================================================== ## == Bloc modal change avatar ## =================================================================== #} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}