show display name in menu bar if exist

This commit is contained in:
mike-esokia
2018-05-21 11:28:25 +04:00
committed by Mike Ng
parent 44b618ac2d
commit 1981acf194

View File

@@ -128,7 +128,7 @@
{% else %} {% else %}
<a target="_blank" href="{{ path('account') }}" title="{{ 'login:: Mon compte' | trans }}"> <a target="_blank" href="{{ path('account') }}" title="{{ 'login:: Mon compte' | trans }}">
<span> <span>
{{app.getAuthenticatedUser().getLogin()}} {{ app.getAuthenticatedUser().getDisplayName() }}
</span> </span>
</a> </a>
{% endif %} {% endif %}