caisse-bliss/app/Resources/views/default/header.html.twig

39 lines
1.1 KiB
Twig
Raw Normal View History

2018-04-04 16:25:25 +02:00
<div class="header-block">
<div class="row">
2018-04-18 14:39:15 +02:00
{% 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 %}
2018-04-04 16:25:25 +02:00
</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>