From 832442958d3d0abd1aaff5f43b62584d7a97647d Mon Sep 17 00:00:00 2001 From: manolobevia Date: Fri, 21 Oct 2011 18:00:40 +0000 Subject: [PATCH] Committing r3505. Fixed VIVO-417 --- .../templates/freemarker/lib/lib-vivo-properties.ftl | 8 +++----- .../freemarker/lib/lib-vivo-property-webpage.ftl | 9 +++++++++ 2 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 productMods/templates/freemarker/lib/lib-vivo-property-webpage.ftl diff --git a/productMods/templates/freemarker/lib/lib-vivo-properties.ftl b/productMods/templates/freemarker/lib/lib-vivo-properties.ftl index 696a11fe..426bb2ee 100644 --- a/productMods/templates/freemarker/lib/lib-vivo-properties.ftl +++ b/productMods/templates/freemarker/lib/lib-vivo-properties.ftl @@ -15,11 +15,11 @@ - <#-- 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 --> - + <#include "lib-vivo-property-webpage.ftl"> - \ No newline at end of file + diff --git a/productMods/templates/freemarker/lib/lib-vivo-property-webpage.ftl b/productMods/templates/freemarker/lib/lib-vivo-property-webpage.ftl new file mode 100644 index 00000000..dbf2fa20 --- /dev/null +++ b/productMods/templates/freemarker/lib/lib-vivo-property-webpage.ftl @@ -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 +--> + +