Committing r3505. Fixed VIVO-417
This commit is contained in:
parent
3bb3aaabd2
commit
832442958d
2 changed files with 12 additions and 5 deletions
|
@ -15,11 +15,11 @@
|
||||||
</#if>
|
</#if>
|
||||||
</#macro>
|
</#macro>
|
||||||
|
|
||||||
|
|
||||||
<#-- core:webpage
|
<#-- core:webpage
|
||||||
|
|
||||||
Note that this macro has a side-effect in the call to propertyGroups.pullProperty().
|
Note that this macro has a side-effect in the call to propertyGroups.pullProperty().
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<#macro webpages propertyGroups editable linkListClass="individual-urls">
|
<#macro webpages propertyGroups editable linkListClass="individual-urls">
|
||||||
<#local webpage = propertyGroups.pullProperty("${core}webpage")!>
|
<#local webpage = propertyGroups.pullProperty("${core}webpage")!>
|
||||||
|
|
||||||
|
@ -28,10 +28,8 @@
|
||||||
<#local label = "Web Pages">
|
<#local label = "Web Pages">
|
||||||
<@p.addLinkWithLabel webpage editable label />
|
<@p.addLinkWithLabel webpage editable label />
|
||||||
<#if webpage.statements?has_content> <#-- if there are any statements -->
|
<#if webpage.statements?has_content> <#-- if there are any statements -->
|
||||||
<ul class="${linkListClass}" id="webpages" role="list">
|
<#include "lib-vivo-property-webpage.ftl">
|
||||||
<@p.objectPropertyList webpage editable />
|
|
||||||
</ul>
|
|
||||||
</#if>
|
</#if>
|
||||||
</nav>
|
</nav>
|
||||||
</#if>
|
</#if>
|
||||||
</#macro>
|
</#macro>
|
||||||
|
|
|
@ -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>
|
Loading…
Add table
Reference in a new issue