{% extends "admin/base.html.twig" %} {% trans_default_domain 'admin' %} {% import 'core/src-macro.html.twig' as resources %} {% set pageTitle = "Tableau de bord"|trans %} {% block title %}{{ pageTitle }}{% endblock %} {% block pageTitle %}{{ pageTitle }}{% endblock %} {% block stylesheets %} {{ parent() }} {{ resources.encore_absolute_link_tags('admin-dashboard', 'admin', true) }} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %} {% block body %}
{{ "Ravie de vous revoir"|trans }}{% if app.request.locale == 'en' %}!{% else %} !{% endif %}
{% if app.user.lastLogin is defined and app.user.lastLogin %}
{{ "Dernière connexion"|trans }} {{ app.user.lastLogin|ago }}
{% endif %}
{% if 'edit'|moduleActive(allModules) %}
{{ "Gérez vos pages"|trans }}
{% endif %} {% if 'medias'|moduleActive(allModules) %}
{{ "Gérez vos médias"|trans }}
{% endif %} {% if 'newscast'|moduleActive(allModules) %}
{{ "Publiez une actu"|trans }}
{% endif %} {% if 'form'|moduleActive(allModules) %}
{{ "Gérez vos formulaires"|trans }}
{% endif %} {% if 'slider'|moduleActive(allModules) %}
{{ "Vos sliders"|trans }}
{% endif %}
{{ "Besoin d’aide ?"|trans }}
{% if is_granted('ROLE_INTERNAL') %}
{{ notFoundUrls|length }}
{{ "Erreurs 404"|trans }}
{{ noSeoCounts['total'] }}
{% if allLocales|length > 1 %}
{% for locale, count in noSeoCounts|unset('total') %}
{{ noSeoCounts[locale] }}
{% endfor %}
{% endif %}
{{ "SEO manquant"|trans }}
{% endif %}
{% endblock %}