Dissociates navigationprint and userprint. Both are now separated in main mxt.

This commit is contained in:
Rooty 2020-12-09 01:31:30 +01:00
parent 9eb614ddb2
commit 19f0472bf6

View File

@ -18,23 +18,6 @@
<li class="nav-item"><a class="nav-link peertube" href="https://tube.fab-l3.org" target="_blank"><i class="fa fa-lg fa-peertube"></i></a></li>
<li class="nav-item"><a class="nav-link nextcloud" href="https://cloud.fab-l3.org" target="_blank"><i class="fa fa-lg fa-nextcloud"></i></a></li>
<li class="nav-item"><a class="nav-link twitter" href="https://twitter.com/FablabLCube" target="_blank"><i class="fa fa-lg fa-twitter"></i></a></li>
<mx:bloc id="blocGUEST">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="authForm" role="button" data-toggle="dropdown" href="#" aria-haspopup="true" aria-expanded="false"><i class="fa fa-lg fa-lock"></i> Connexion</a>
<div class="dropdown-menu" aria-labelledby="authForm">
<mx:text id="userprint"/>
</div>
</li>
</mx:bloc id="blocGUEST">
<mx:bloc id="blocAUTH">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="loggedForm" role="button" data-toggle="dropdown" href="#" aria-haspopup="true" aria-expanded="false"><mx:text id="firstName" /> <mx:text id="lastName" /> (<mx:text id="login" />)<span class="fa fa-lg fa-navicon"></span></a>
<div id="loggedMenu" class="dropdown-menu text-center" aria-labelledby="loggedForm">
<a class="nav-link" mXattribut="href:urlAccount"><span class="fa fa-lg fa-user"></span>Mon Compte</a>
<a class="nav-link" mXattribut="href:disconnectURL"><span class="fa fa-lg fa-sign-out"></span><mx:text id="decon"/></a>
</div>
</li>
</mx:bloc id="blocAUTH">
</ul>
</div>
</nav>