Commit 285b1059 authored by Matija Obreza's avatar Matija Obreza
Browse files

User pulldown menu

parent 6f140f2c
......@@ -67,3 +67,7 @@ sample.message.permissions = Permissions
sample.message.organizations = Organizations
sample.message.invite.organizations = Invite Organizations = Invite to Network
user.pulldown.profile=View profile
......@@ -62,6 +62,23 @@
<sec:authorize access="isAuthenticated()">
<div class="navbar pull-right">
<ul class="nav">
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" title="<spring:message code="sample.message.change.locale"/>">
You are <b>${user.username}</b>
<b class="caret"></b>
<ul class="dropdown-menu">
<li><a href="<c:url value="/profile" />"><spring:message code="user.pulldown.profile"/></a></li>
<li><a href="<c:url value="/logout" />"><spring:message code="user.pulldown.logout"/></a></li>
......@@ -69,10 +86,6 @@
<div class="page-header">
<a href="<c:url value="/" />">Home</a>
<a href="<c:url value="/data" />">Datasets</a>
<sec:authorize access="isAuthenticated()">
<div class="pull-right">You are <b>${user.username}</b></div>
<div id="dialog"></div>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment