{# templates/admin/consent/index.html.twig #} {% extends 'admin/base_admin.html.twig' %} {% block content %}
| # | Date | Type | Action | Utilisateur | IP anonymisée | Source | Version notice | |
|---|---|---|---|---|---|---|---|---|
| {{ record.id }} | {{ record.consentedAt|date('d/m/Y H:i:s') }} | {% if record.purpose == 'newsletter' %} 📧 Newsletter {% else %} 🔔 Push VAPID {% endif %} | {% if record.action == 'grant' %} ✅ Grant {% else %} ❌ Revoke {% endif %} | {% if record.user %} {{ record.user.email }} {% else %} Anonyme {% endif %} | {{ record.ipAnonymized ?? '—' }} | {{ record.source ?? '—' }} | {{ record.noticeVersion ?? '—' }} | Détail |
| Aucun enregistrement trouvé. | ||||||||
php bin/console app:consent:purge.