ajout prenom nom dans la bannière (fixes #32761)

This commit is contained in:
afornerot 2021-06-11 10:26:00 +02:00
parent ebd9a5a0a6
commit 24e2fb3c2e
2 changed files with 10 additions and 0 deletions

View File

@ -110,6 +110,12 @@ body {
margin-left: 10px;
}
#navbar-nameuser {
position: absolute;
top: 50px;
right: 30px;
}
@media (max-width: 767px) {
.navbar-default .navbar-header #title {
display: none;

View File

@ -84,6 +84,10 @@
{{ include('@CadolesCore/Include/menu.html.twig') }}
{% endif %}
</ul>
{% if app.user %}
<div id="navbar-nameuser"><a href="{{ path('cadoles_core_user') }}" title="Profil">{{ app.user.firstname }} {{ app.user.lastname }}</a></div>
{% endif %}
</div>
{% endif %}
{% endif %}