Refactored editing links for individual photo in individual pages

This commit is contained in:
mb863 2011-01-24 19:28:44 +00:00
parent 0d78f1f1f0
commit e8c1c83aad
2 changed files with 27 additions and 9 deletions

View file

@ -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>