NIHVIVO-1386 Self-editors don't get SiteAdmin link in top nav. They also don't get revision info link in footer. Implemented with new User template model class. Changed tests for loginName, showFlag1Status in templates to use this object.

This commit is contained in:
rjy7 2010-11-23 01:28:39 +00:00
parent 130b641081
commit ca6ab8288e
18 changed files with 225 additions and 77 deletions

View file

@ -2,9 +2,9 @@
<#-- Template for version/revision information -->
<#-- Only show version info if user is logged in -->
<#if loginName??>
<div id="version">
<#-- Only show version info if user has access -->
<#if user.hasRevisionInfoAccess>
<div id="revision">
Version <a href="${version.moreInfoUrl}">${version.label}</a>
</div>
</#if>