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:
parent
130b641081
commit
ca6ab8288e
18 changed files with 225 additions and 77 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue