NIHVIVO-1071 Style cleanup at the top of individual--foaf-person.ftl to tighten up space in attempt to ensure property group nav is above the fold. Other tweaks to markup (id's on existing elements instead of unnecessary additional <a>) and style (removed boxes around instances of collated properties).

This commit is contained in:
nac26 2011-01-06 03:49:03 +00:00
parent 92dcc367f8
commit fe43eac71e
3 changed files with 12 additions and 23 deletions

View file

@ -10,14 +10,14 @@
<section class="property-group" role="region">
<nav class="scroll-up" role="navigation">
<a href="#property-nav">
<a href="#property-group-menu">
<img src="${urls.images}/individual/scroll-up.png" alt="scroll to property group menus" />
</a>
</nav>
<#-- Display the group heading -->
<#if groupname?has_content>
<h2><a name="${groupname}"></a>${groupname?capitalize}</h2>
<h2 id="${groupname}">${groupname?capitalize}</h2>
</#if>
<#-- List the properties in the group -->

View file

@ -4,9 +4,7 @@
<#assign nameForOtherGroup = nameForOtherGroup!"other">
<nav id="property-group-menus" role="navigation">
<a name="property-nav"></a>
<nav id="property-group-menu" role="navigation">
<ul role="list">
<#list propertyGroups.all as group>
<#assign groupname = group.name(nameForOtherGroup)>