caisse-bliss/app/Resources/views/default/header.html.twig
2018-04-18 14:39:15 +02:00

39 lines
1.1 KiB
Twig
Executable File

<div class="header-block">
<div class="row">
{% if usersCount is defined %}
<div class="col-xs-9">
{% include 'default/login-choices.html.twig' %}
</div>
<div class="col-xs-3">
<i class="fa fa-users"></i> {{ usersCount *389 }} utilisateurs
</div>
{% else %}
<div class="col-xs-12">
{% include 'default/login-choices.html.twig' %}
</div>
{% endif %}
</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>