NIHVIVO-1863 Fix collated view of core:personInPosition and core:hasResearchArea

This commit is contained in:
rjy7 2011-01-21 21:54:17 +00:00
parent f475953013
commit 04d5d32568

View file

@ -82,12 +82,10 @@
<#assign positions = propertyGroups.getPropertyAndRemoveFromList("${core}personInPosition")!>
<#if positions?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
<h2 id="${positions.localName}">${positions.name?capitalize} <@p.addLink positions editable /></h2>
<#if positions.statements?has_content> <#-- if there are any statements -->
<ul id ="individual-positions" role="list">
<@p.objectPropertyList positions positions.statements positions.template editable />
<ul class="individual-positions" role="list">
<@p.objectProperty positions editable />
</ul>
</#if>
</#if>
</header>
<#-- Overview -->
@ -97,12 +95,10 @@
<#assign researchAreas = propertyGroups.getPropertyAndRemoveFromList("${core}hasResearchArea")!>
<#if researchAreas?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
<h2 id="${researchAreas.localName}">${researchAreas.name?capitalize} <@p.addLink researchAreas editable /></h2>
<#if researchAreas.statements?has_content> <#-- if there are any statements -->
<ul id="individual-areas" role="list">
<@p.simpleObjectPropertyList researchAreas editable/>
<@p.objectProperty researchAreas editable "propStatement-simple.ftl" />
</ul>
</#if>
</#if>
</section>
</section>
@ -120,12 +116,8 @@
</header>
<ul role="list">
<li role="listitem"><a href="#"><img class="co-author" src="${urls.images}/individual/Bacall.jpg" /></a></li>
<li role="listitem"><a href="#"><img class="co-author" src="${urls.images}/individual/Bogart.jpg" /></a></li>
<li role="listitem"><a href="#"><img class="co-author" src="${urls.images}/individual/Gable.jpg" /></a></li>
<li role="listitem"><a href="#"><img class="co-author" src="${urls.images}/individual/Grant.jpg" /></a></li>
<li role="listitem"><a href="#"><img class="co-author" src="${urls.images}/individual/Leigh.jpg" /></a></li>
<li role="listitem"><a href="#"><img class="co-author" src="${urls.images}/individual/Welles.jpg" /></a></li>
<li role="listitem"><a href="#"><img class="co-author" src="" /></a></li>
<li role="listitem"><a href="#"><img class="co-author" src="" /></a></li>
</ul>
<p class="view-all-coauthors"><a class="view-all-style" href="#">View All <img src="${urls.images}/arrowIcon.gif" alt="arrow icon" /></a></p>