Refactored editing links for individual photo in individual pages
This commit is contained in:
parent
0d78f1f1f0
commit
e8c1c83aad
2 changed files with 27 additions and 9 deletions
|
@ -125,7 +125,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>
|
||||
<div class="thumb-links"><@p.editingLinks "${mainImage.localName}" mainImage.statements[0] editable /></div>
|
||||
<@p.editingLinks "${mainImage.localName}" mainImage.statements[0] editable />
|
||||
<#else>
|
||||
<@p.addLinkWithLabel mainImage editable "Photo" />
|
||||
<#if placeholderImage?has_content>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue