NIHVIVO-2885 Only show the My Account link if the user is authorized to edit her account.

This commit is contained in:
j2blake 2011-07-13 14:48:39 +00:00
parent 330393e329
commit 64249a5bbf

View file

@ -21,7 +21,9 @@
<#if user.hasProfile>
<li role="listitem"><a href="${user.profileUrl}">My profile</a></li>
</#if>
<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>