NIHVIVO-1316: Per RY request, I have changed semantic markup for property groups display.

This commit is contained in:
mb863 2010-12-16 17:36:49 +00:00
parent c1ccfdc194
commit 79ae8d1ce0
4 changed files with 34 additions and 33 deletions

View file

@ -90,11 +90,11 @@
<section id="sparklines-publications" role="region">
<#include "individual-sparklineVisualization.ftl">
<header><img src="${urls.home}/images/individual/sparkline.gif" alt="" />
<#--<header><img src="${urls.home}/images/individual/sparkline.gif" alt="" />
<h3><span class="grey">2</span> publications <span class="publication-year-range grey">within the last 10 years</span></h3>
</header>
<p><a class="all-vivo-publications" href="#">All VIVO publications & co-author network.</a></p>
<p><a class="all-vivo-publications" href="#">All VIVO publications & co-author network.</a></p>-->
</section>
<section id="co-authors" role="region">

View file

@ -17,7 +17,7 @@
<#assign groupName = "">
</#if>
<section class="property-groups" role="region">
<section class="property-group" role="region">
<#-- Display the group heading -->
<#if groupName?has_content>
@ -26,23 +26,25 @@
<#-- List the properties in the group -->
<#list group.properties as property>
<article class="property-group" role="article">
<article class="property" role="article">
<#-- Property display name -->
<h3>${property.name}</h3>
<#-- List the statements for each property -->
<#-- data property -->
<#if property.type == "data">
<#list property.statements as statement>
<p class="data-property">${statement.value}</p>
</#list>
<#-- object property -->
<#elseif property.collatedBySubclass>
<#include "objectPropertyList-collated.ftl">
<#else>
<#include "objectPropertyList-statements.ftl">
</#if>
<ul class="property-list" role="list">
<#-- data property -->
<#if property.type == "data">
<#list property.statements as statement>
<p class="data-property-statement">${statement.value}</p>
</#list>
<#-- object property -->
<#elseif property.collatedBySubclass>
<#include "objectPropertyList-collated.ftl">
<#else>
<#include "objectPropertyList-statements.ftl">
</#if>
</ul>
</article>
</#list>

View file

@ -1,10 +1,8 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- Template to list statements for an object property -->
<ul class="object-property" role="list">
<#list property.statements as statement>
<li role="listitem">
<#include "${property.template}">
</li>
</#list>
</ul>
<#list property.statements as statement>
<li role="listitem">
<#include "${property.template}">
</li>
</#list>