{# TODO add layout condition here #} {#
#} {% include 'app/common/components/_logo.html.twig' %}
{% if app.user is null %} {% if isIntranetButton == true %} {% elseif isIntranetButton == false %} {% endif %} {{ linkButtonLabel }}
{{ render(controller('App\\Controller\\AuthController::login')) }}
{% else %}
{{ 'app.common.components.welcome'|trans }}
{{ app.user.firstname }} {{ app.user.lastname|upper }}
{{ 'admin.common.deconnexion'|trans }} {% if is_granted('ROLE_ADMIN') %} | {{ 'admin.common.title'|trans }}
{% endif %} {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %} {% if is_granted('ROLE_ADMIN') == false %}
{% endif %} {{ 'fos_user_bundle.views.profile.edit.title'|trans }} {% endif %}
{% include 'app/common/components/_intranet_ca_web.html.twig' %} {% endif %} {{ get_menu() }} {% include 'app/common/components/_search.html.twig' %}