Committing r3505. Fixed VIVO-417

This commit is contained in:
manolobevia 2011-10-21 18:00:40 +00:00
parent 3bb3aaabd2
commit 832442958d
2 changed files with 12 additions and 5 deletions

View file

@ -15,11 +15,11 @@
</#if>
</#macro>
<#-- core:webpage
Note that this macro has a side-effect in the call to propertyGroups.pullProperty().
-->
<#macro webpages propertyGroups editable linkListClass="individual-urls">
<#local webpage = propertyGroups.pullProperty("${core}webpage")!>
@ -28,10 +28,8 @@
<#local label = "Web Pages">
<@p.addLinkWithLabel webpage editable label />
<#if webpage.statements?has_content> <#-- if there are any statements -->
<ul class="${linkListClass}" id="webpages" role="list">
<@p.objectPropertyList webpage editable />
</ul>
<#include "lib-vivo-property-webpage.ftl">
</#if>
</nav>
</#if>
</#macro>
</#macro>

View file

@ -0,0 +1,9 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- This snippet will be included in lib-vivo-properties.ftl, so users will be able to have a
different view when extending wilma theme
-->
<ul class="${linkListClass}" id="webpages" role="list">
<@p.objectPropertyList webpage editable />
</ul>