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:
parent
e113129c34
commit
a83b27a340
1 changed files with 1 additions and 2 deletions
|
@ -14,8 +14,7 @@
|
||||||
propertyGroups=propertyGroups
|
propertyGroups=propertyGroups
|
||||||
namespaces=namespaces
|
namespaces=namespaces
|
||||||
editable=editable
|
editable=editable
|
||||||
showPlaceholder="always"
|
showPlaceholder="always" />
|
||||||
placeholder="${urls.images}/placeholders/person.thumbnail.jpg" />
|
|
||||||
</#assign>
|
</#assign>
|
||||||
|
|
||||||
<#if ( individualImage?contains('<img class="individual-photo"') )>
|
<#if ( individualImage?contains('<img class="individual-photo"') )>
|
||||||
|
|
Loading…
Add table
Reference in a new issue