NIHVIVO-1332 Editing links for individual image
This commit is contained in:
parent
3dda5a3b2b
commit
d9a1f64a9c
3 changed files with 8 additions and 16 deletions
|
@ -12,13 +12,9 @@
|
|||
|
||||
<section id="share-contact" role="region">
|
||||
|
||||
<#-- Thumbnail -->
|
||||
<#if individual.thumbUrl??>
|
||||
<a href="${individual.imageUrl}"><img class="individual-photo2" src="${individual.thumbUrl}" title="click to view larger image" alt="${individual.name}" width="115" /></a>
|
||||
<#else>
|
||||
<img class="individual-photo2" src="${urls.images}/placeholders/person.thumbnail.jpg" title = "no image" alt="placeholder image" width="115" />
|
||||
</#if>
|
||||
|
||||
<#-- Image -->
|
||||
<@p.imageLinks individual propertyGroups editing "${urls.images}/placeholders/person.thumbnail.jpg" />
|
||||
|
||||
<nav role="navigation">
|
||||
<ul id ="individual-tools-people" role="list">
|
||||
<#--<li role="listitem"><a class="picto-font picto-uri" href="#">j</a></li>
|
||||
|
|
|
@ -10,12 +10,8 @@
|
|||
|
||||
<section id="individual-intro" class="vcard" role="region">
|
||||
<section id="share-contact" role="region">
|
||||
<#-- Thumbnail -->
|
||||
<#if individual.thumbUrl??>
|
||||
<a href="${individual.imageUrl}"><img class="individual-photo2" src="${individual.thumbUrl}" title="click to view larger image" alt="${individual.name}" width="115" /></a>
|
||||
<#--<#elseif individual.person>
|
||||
<img class="individual-photo2" src="${urls.images}/placeholders/person.thumbnail.jpg" title = "no image" alt="placeholder image" width="115" />-->
|
||||
</#if>
|
||||
<#-- Image -->
|
||||
<@p.imageLinks individual propertyGroups editing />
|
||||
</section>
|
||||
|
||||
<section id="individual-info" role="region">
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
<#import "lib-list.ftl" as l>
|
||||
<#import "lib-properties.ftl" as p>
|
||||
|
||||
<#assign core = "http://vivoweb.org/ontology/core#">
|
||||
|
||||
<#assign editing = individual.showEditingLinks>
|
||||
|
||||
<#assign editingClass>
|
||||
<#if editing>editing</#if>
|
||||
</#assign>
|
||||
|
||||
<#assign propertyGroups = individual.propertyList>
|
||||
<#assign propertyGroups = individual.propertyList>
|
||||
|
||||
<#assign core = "http://vivoweb.org/ontology/core#">
|
Loading…
Add table
Reference in a new issue