{% if app.user %}
{#

Hello, {{ app.user.name }}

#} {% if is_granted('ROLE_ADMIN') %} {# #} {% endif %} {% else %}

Log in to access search.

{{ 'heading.logIn'|trans }} {% endif %}