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.

This commit is contained in:
j2blake 2012-03-21 17:29:09 +00:00
parent e113129c34
commit a83b27a340

View file

@ -14,8 +14,7 @@
propertyGroups=propertyGroups
namespaces=namespaces
editable=editable
showPlaceholder="always"
placeholder="${urls.images}/placeholders/person.thumbnail.jpg" />
showPlaceholder="always" />
</#assign>
<#if ( individualImage?contains('<img class="individual-photo"') )>