NIHVIVO-1392 Fix a bug in the verbose property display whereby session value was reset every time the main site admin page loaded. Normalize the object property display tier value to int.

This commit is contained in:
rjy7 2011-02-24 22:54:48 +00:00
parent faac29e6ba
commit dfd9da14b8
6 changed files with 27 additions and 15 deletions

View file

@ -5,7 +5,7 @@
<#import "lib-properties.ftl" as p>
<#list propertyGroups.all as group>
<#assign groupname = group.name(nameForOtherGroup)>
<#assign groupName = group.name(nameForOtherGroup)>
<section class="property-group" role="region">
<nav class="scroll-up" role="navigation">
@ -15,8 +15,8 @@
</nav>
<#-- Display the group heading -->
<#if groupname?has_content>
<h2 id="${groupname}">${groupname?capitalize}</h2>
<#if groupName?has_content>
<h2 id="${groupName}">${groupName?capitalize}</h2>
</#if>
<#-- List the properties in the group -->

View file

@ -134,7 +134,7 @@ name will be used as the label. -->
<span class="verbosePropertyListing">
<a class="propertyLink" href="${verboseDisplay.propertyEditUrl}">${verboseDisplay.localName}</a>
(${property.type?lower_case} property);
display tier: ${verboseDisplay.displayTier} within group;
display tier: ${verboseDisplay.displayTier};
display level: ${verboseDisplay.displayLevel};
update level: ${verboseDisplay.updateLevel}
</span>