{{ message }}
{% endfor %}
{% for message in app.flashes('error') %}
{{ message }}
{% endfor %}
{% for reporting in reportings %}
{% endfor %}
{{ include('admin/_pagination.html.twig') }}
{% set baseUrl = app.request.schemeAndHttpHost %}
{% set imageUrl = reporting.image.thumbnailName ? baseUrl ~ '/api/images/' ~ reporting.image.imageName ~ '/thumbnail' : (reporting.image.imageName ? baseUrl ~ '/api/images/' ~ reporting.image.imageName ~ '/original' : null) %}
{% if imageUrl %}
{% if reporting.isActive %}
{% endif %}
{% else %}
Image non disponible
{% endif %}
{% if reporting.isActive %}
Signalement actif
{% else %}
Signalement annulé
{% endif %}
{% if lastLogin and reporting.createdAt > lastLogin %}
Nouveau
{% endif %}
Date de création de l'image: {{ reporting.image.createdAt|date('d/m/Y H:i') }}
Auteur de l'image : {{ reporting.image.user.firstName }} {{ reporting.image.user.lastName }}
Commentaire de l'image : {{ reporting.image.commentaire }}
Signalé par: {{ reporting.user.firstName }} {{ reporting.user.lastName }}
Le: {{ reporting.createdAt|date('d/m/Y H:i') }}
{% if reporting.reason %}
Raison: {{ reporting.reason }}
{% endif %}
{% if reporting.description %}
{{ reporting.description }}
{% endif %}
{% set action = reporting.isActive ? 'désactiver' : 'activer' %}