NIHVIVO-2508 Change template properties to methods so not pre-computed.
This commit is contained in:
parent
ddd6469a3a
commit
b5b44b73c1
6 changed files with 114 additions and 97 deletions
|
@ -201,7 +201,7 @@ name will be used as the label. -->
|
|||
If there's a mainImage statement but no thumbnail image, treat it as if there is no image. -->
|
||||
<#if (mainImage.statements)?has_content && thumbUrl?has_content>
|
||||
<a href="${individual.imageUrl}"><img class="individual-photo" src="${thumbUrl}" title="click to view larger image" alt="${individual.name}" width="160" /></a>
|
||||
<@editingLinks "${mainImage.localName}" mainImage.first editable extraParams />
|
||||
<@editingLinks "${mainImage.localName}" mainImage.first() editable extraParams />
|
||||
<#else>
|
||||
<#local imageLabel><@addLinkWithLabel mainImage editable "Photo" extraParams /></#local>
|
||||
${imageLabel}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue