NIHVIVO-2885 Only show the My Account link if the user is authorized to edit her account.
This commit is contained in:
parent
330393e329
commit
64249a5bbf
1 changed files with 3 additions and 1 deletions
|
@ -21,7 +21,9 @@
|
||||||
<#if user.hasProfile>
|
<#if user.hasProfile>
|
||||||
<li role="listitem"><a href="${user.profileUrl}">My profile</a></li>
|
<li role="listitem"><a href="${user.profileUrl}">My profile</a></li>
|
||||||
</#if>
|
</#if>
|
||||||
|
<#if urls.myAccount??>
|
||||||
<li role="listitem"><a href="${urls.myAccount}">My account</a></li>
|
<li role="listitem"><a href="${urls.myAccount}">My account</a></li>
|
||||||
|
</#if>
|
||||||
<li role="listitem"><a href="${urls.logout}">Log out</a></li>
|
<li role="listitem"><a href="${urls.logout}">Log out</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Add table
Reference in a new issue