mise en forme de la zone username dans la barre de navigation (fixes #32780)
This commit is contained in:
parent
41915a0547
commit
e66f8999ed
|
@ -127,6 +127,19 @@ body {
|
|||
right: 30px;
|
||||
}
|
||||
|
||||
.navbar-top-links #navbar-nameuser {
|
||||
position: relative;
|
||||
top: -8px;
|
||||
right: inherit;
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.navbar-top-links #navbar-nameuser {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.navbar-default .navbar-header #title {
|
||||
display: none;
|
||||
|
|
|
@ -110,6 +110,9 @@
|
|||
</div>
|
||||
|
||||
<ul class="nav navbar-top-links navbar-right">
|
||||
{% if app.user %}
|
||||
<a id="navbar-nameuser" href="{{ path('cadoles_core_user') }}" title="Profil">{{ app.user.firstname }} {{ app.user.lastname }}</a>
|
||||
{% endif %}
|
||||
{% if mustread is not defined %}
|
||||
{{ include('@CadolesCore/Include/menu.html.twig') }}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue