|
|
|
@ -81,7 +81,8 @@
|
|
|
|
|
|
|
|
|
|
</security:authorize>
|
|
|
|
|
|
|
|
|
|
<ul class="nav pull-right">
|
|
|
|
|
<!-- use a full user menu and button when not collapsed -->
|
|
|
|
|
<ul class="nav pull-right visible-desktop">
|
|
|
|
|
<security:authorize access="hasRole('ROLE_USER')">
|
|
|
|
|
<li class="dropdown">
|
|
|
|
|
<a id="userButton" class="dropdown-toggle" data-toggle="dropdown" href=""><i class="icon-user icon-white"></i> ${ shortName } <span class="caret"></span></a>
|
|
|
|
@ -98,6 +99,20 @@
|
|
|
|
|
</li>
|
|
|
|
|
</security:authorize>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<!-- use a simplified user button system when collapsed -->
|
|
|
|
|
<ul class="nav hidden-desktop">
|
|
|
|
|
<security:authorize access="hasRole('ROLE_USER')">
|
|
|
|
|
<li><a href="manage/#user/profile">${ longName }</a></li>
|
|
|
|
|
<li class="divider"></li>
|
|
|
|
|
<li><a href="logout"><i class="icon-remove"></i> <spring:message code="topbar.logout"/></a></li>
|
|
|
|
|
</security:authorize>
|
|
|
|
|
<security:authorize access="!hasRole('ROLE_USER')">
|
|
|
|
|
<li>
|
|
|
|
|
<a href="login" data-toggle="collapse" data-target=".nav-collapse"><i class="icon-lock"></i> <spring:message code="topbar.login"/></a>
|
|
|
|
|
</li>
|
|
|
|
|
</security:authorize>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
</div><!--/.nav-collapse -->
|
|
|
|
|
</c:if>
|
|
|
|
|