{% if active is not defined %} {% set active = "" %} {% endif %} {% block title %}Welcome! - BackOffice {% endblock %} {# Run `composer require symfony/webpack-encore-bundle` and uncomment the following Encore helpers to start using Symfony UX #} {% block stylesheets %} {# {{ encore_entry_link_tags('app') }} #} {% endblock %} {% block javascripts %} {# {{ encore_entry_script_tags('app') }} #} {% endblock %}
{{ app.user.icone | raw }}
{{ app.user | capitalize }}
Voir les tickets {% if app.user.is('admin') %}
{% else %} Créer un ticket {% endif %}
{% if app.user.unseenNotifications() is not empty %} {% set class = "text-danger" %} {% endif %}
Se déconnecter
{% block header %}{% endblock %}
{% if error is defined and error != null %} {% endif %} {% if success is defined and success != null %} {% endif %} {% for message in app.flashes('success') %} {% endfor %} {% for message in app.flashes('error') %} {% endfor %}
{% if app.user != null and 'ROLE_DEV' in app.user.roles and false %} {{ render(path('mercure.render.modal')) }}
{% include "mercure/chat.html.twig" %}
{% set unread = app.user.countUnread() %}
{{ unread }}
{% endif %} {% block body %}{% endblock %}