{% extends 'admin/_layout.html.twig' %} {% block title %}Réseaux sociaux — Admin{% endblock %} {% block page_title %}Réseaux sociaux{% endblock %} {% block page_subtitle %}{{ items|length }} réseau{{ items|length > 1 ? 'x' : '' }}{% endblock %} {% block admin_body %} {% if is_granted('ROLE_ADMIN') %} {# ── Global toggle ── #}
Section réseaux sociaux {% if siteParams.socialNetworksEnabled %} Visible dans le footer {% else %} Invisible dans le footer {% endif %}
{% endif %} {# ── Filters ── #}
{{ items|length }} réseau{{ items|length > 1 ? 'x' : '' }}
{% if is_granted('ROLE_ADMIN') %}
{% if items|length > 0 %} {% if is_granted('ROLE_SUPER_ADMIN') %} SQL {% endif %} CSV {% endif %} Ajouter
{% endif %}
{% if items|length == 0 %}

Aucun réseau social configuré.

{% else %}
{# ── Delete modal ── #}

Confirmer la suppression

Supprimer ?

{% endif %} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}