{% 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'] %} {% for letter in navItem %} {% if letter == groupe %} {{ letter }} {% else %} {{ letter }} {% endif %} {% endfor %} {% if result.elements|length <= 0 %} Aucun contact trouvé Ajouter un contact {% else %} {% for obj in result.elements %} {{ obj.nom }} {{ obj.prenom }} {% 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)) %} {% if secure.havePermission(constant('_UPDATE_SERV_GEST_USER', app_const)) %} Modifier {% endif %} {% if secure.havePermission(constant('_REMOVE_SERV_GEST_USER', app_const)) and obj.profile == null %} Supprimer {% endif %} {% 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 ## =================================================================== #} {{ form_start(avatarForm, {'attr': {'id': 'form_person_avatar_edit'}}) }} Changer d'image de profile {{ form_row(avatarForm.avatar) }} La taille maximale autorisée est {{maxSize}} les types de documents autorisés sont {% for extension in mimeTypes %} {{extension}} {% endfor %} {{ form_end(avatarForm) }} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}
Aucun contact trouvé
{{ obj.description|raw }}
Pas de description.