From a83b27a340e17fec6bce8aef69c90c377210e2f1 Mon Sep 17 00:00:00 2001 From: j2blake Date: Wed, 21 Mar 2012 17:29:09 +0000 Subject: [PATCH] NIHVIVO-3704 Create a Freemarker method called placeholderImageUrl(individualUri). Use that instead of hard-coding the placeholder image URLs in templates, or passing the placeholder image along from one page to the next via the controller. Remove the "extraParams" parameter to several Freemarker macros, since this is the only purpose it was used for. --- .../freemarker/body/individual/individual--foaf-person.ftl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl b/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl index a24a271c..e59f9ca8 100644 --- a/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl +++ b/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl @@ -14,8 +14,7 @@ propertyGroups=propertyGroups namespaces=namespaces editable=editable - showPlaceholder="always" - placeholder="${urls.images}/placeholders/person.thumbnail.jpg" /> + showPlaceholder="always" /> <#if ( individualImage?contains('