Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
285b1059
Commit
285b1059
authored
Aug 29, 2013
by
Matija Obreza
Browse files
User pulldown menu
parent
6f140f2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/resources/content/language.properties
View file @
285b1059
...
@@ -67,3 +67,7 @@ sample.message.permissions = Permissions
...
@@ -67,3 +67,7 @@ sample.message.permissions = Permissions
sample.message.organizations
=
Organizations
sample.message.organizations
=
Organizations
sample.message.invite.organizations
=
Invite Organizations
sample.message.invite.organizations
=
Invite Organizations
sample.message.invite.to.network
=
Invite to Network
sample.message.invite.to.network
=
Invite to Network
user.pulldown.logout
=
Logout
user.pulldown.profile
=
View profile
src/main/webapp/WEB-INF/decorator/main.jsp
View file @
285b1059
...
@@ -62,6 +62,23 @@
...
@@ -62,6 +62,23 @@
</ul>
</ul>
</div>
</div>
</div>
</div>
<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>
</a>
<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>
</ul>
</li>
</ul>
</div>
</sec:authorize>
</div>
</div>
</div>
</div>
...
@@ -69,10 +86,6 @@
...
@@ -69,10 +86,6 @@
<div
class=
"page-header"
>
<div
class=
"page-header"
>
<a
href=
"
<c:url
value=
"/"
/>
"
>
Home
</a>
<a
href=
"
<c:url
value=
"/"
/>
"
>
Home
</a>
<a
href=
"
<c:url
value=
"/data"
/>
"
>
Datasets
</a>
<a
href=
"
<c:url
value=
"/data"
/>
"
>
Datasets
</a>
<sec:authorize
access=
"isAuthenticated()"
>
<div
class=
"pull-right"
>
You are
<b>
${user.username}
</b></div>
</sec:authorize>
</div>
</div>
<div
id=
"dialog"
></div>
<div
id=
"dialog"
></div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment