{% extends 'base.html.twig' %} {% block title %}Demandes de suivi - Na+{% endblock %} {% block body %}

Demandes de suivi {% if pending|length > 0 %} {{ pending|length }} {% endif %}

{% if pending|length == 0 %}
Aucune demande en attente.
{% else %} {% for follow in pending %}
{# Avatar #} {% if follow.follower.avatarPath %} Avatar {% else %}
{{ follow.follower.firstName|first|upper }}{{ follow.follower.lastName|first|upper }}
{% endif %} {# Nom + date #}
{{ follow.follower.displayName }}
{{ follow.createdAt|date('d/m/Y à H:i') }}
{# Boutons #}
{% endfor %} {% endif %}
← Retour au fil d'actu
{% endblock %}