Changed name of image property display macro (was erroneously named "imageLinks")

This commit is contained in:
rjy7 2011-01-28 20:23:36 +00:00
parent 2e06b3d796
commit ac74c1041a
2 changed files with 7 additions and 7 deletions

View file

@ -5,7 +5,7 @@
<section id="individual-intro" class="vcard" role="region"> <section id="individual-intro" class="vcard" role="region">
<#-- Image --> <#-- Image -->
<#assign individualImage> <#assign individualImage>
<@p.imageLinks individual=individual <@p.image individual=individual
propertyGroups=propertyGroups propertyGroups=propertyGroups
namespaces=namespaces namespaces=namespaces
editable=editable editable=editable

View file

@ -129,7 +129,7 @@ name will be used as the label. -->
<#-- Main image links --> <#-- Main image links -->
<#-- Values for showPlaceholder: "always", "never", "with_add_link" --> <#-- Values for showPlaceholder: "always", "never", "with_add_link" -->
<#macro imageLinks individual propertyGroups namespaces editable showPlaceholder="never" placeholder=""> <#macro image individual propertyGroups namespaces editable showPlaceholder="never" placeholder="">
<#local mainImage = propertyGroups.getPropertyAndRemoveFromList("${namespaces.vitroPublic}mainImage")!> <#local mainImage = propertyGroups.getPropertyAndRemoveFromList("${namespaces.vitroPublic}mainImage")!>
<#local thumbUrl = individual.thumbUrl!> <#local thumbUrl = individual.thumbUrl!>
<#-- Don't assume that if the mainImage property is populated, there is a thumbnail image (though that is the general case). <#-- Don't assume that if the mainImage property is populated, there is a thumbnail image (though that is the general case).