caisse-bliss/app/Resources/views/default/header.html.twig
2018-04-04 16:25:25 +02:00

31 lines
902 B
Twig

<div class="header-block">
<div class="row">
<div class="col-xs-6">
{% include 'default/login-choices.html.twig' %}
</div>
<div class="col-xs-6">
<i class="fa fa-users"></i> {{ usersCount }} utilisateurs
</div>
</div>
<div class="row">
<div class="col">
{% if app.request.hasPreviousSession %}
{% for type, messages in app.session.flashBag.all %}
{% for message in messages %}
<div class="{{ type }}">
{{ message|trans({}, 'FOSUserBundle') }}
</div>
{% endfor %}
{% endfor %}
{% endif %}
<div>
{% block fos_user_content %}
{% endblock fos_user_content %}
</div>
</div>
</div>
</div>