{{ encore_entry_link_tags('app') }}
{{ page.slug }}
{{ page.template }}
{{ page.isPublished ? 'Publié' : 'Brouillon' }}
| Titre | Slug | Template | Date de réalisation | Statut | Actions | |
|---|---|---|---|---|---|---|
| ⋮⋮ | {{ child.title }} {% if childIsSystem %}Système{% endif %} | {{ child.slug }} |
{{ child.template }} | {{ child.realizationDate ? child.realizationDate|date('d/m/Y') : '—' }} | {{ child.isPublished ? 'Publié' : 'Brouillon' }} {% if child.contentEn or child.titleEn or child.slugEn %} 🌐 EN {% else %} 🌐 FR {% endif %} |
{% include 'components/admin/_btn_edit_content.html.twig' with {href: path('admin_edit_page', {slug: child.slug})} only %}
{% include 'components/admin/_btn_settings.html.twig' with {href: path('admin_page_edit_settings', {id: child.id})} only %}
{% include 'components/admin/_btn_toggle_publish.html.twig' with {id: child.id, published: child.isPublished} only %}
{% include 'components/admin/_btn_duplicate_page.html.twig' with {id: child.id} only %}
{% include 'components/admin/_btn_delete_page.html.twig' with {id: child.id, disabled: childIsSystem} only %}
|