NIHVIVO-2885 Only show the My Account link if the user is authorized to edit her account.
This commit is contained in:
parent
0c67302bd0
commit
e94f366b40
1 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,9 @@
|
|||
<ul class="dropdown">
|
||||
<li id="user-menu"><a href="#">${user.loginName}</a>
|
||||
<ul class="sub_menu">
|
||||
<li role="listitem"><a href="${urls.myAccount}">My account</a></li>
|
||||
<#if urls.myAccount??>
|
||||
<li role="listitem"><a href="${urls.myAccount}">My account</a></li>
|
||||
</#if>
|
||||
<li role="listitem"><a href="${urls.logout}">Log out</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Reference in a new issue