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">
|
<section id="share-contact" role="region">
|
||||||
|
|
||||||
<#-- Thumbnail -->
|
<#-- Image -->
|
||||||
<#if individual.thumbUrl??>
|
<@p.imageLinks individual propertyGroups editing "${urls.images}/placeholders/person.thumbnail.jpg" />
|
||||||
<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>
|
|
||||||
|
|
||||||
<nav role="navigation">
|
<nav role="navigation">
|
||||||
<ul id ="individual-tools-people" role="list">
|
<ul id ="individual-tools-people" role="list">
|
||||||
<#--<li role="listitem"><a class="picto-font picto-uri" href="#">j</a></li>
|
<#--<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="individual-intro" class="vcard" role="region">
|
||||||
<section id="share-contact" role="region">
|
<section id="share-contact" role="region">
|
||||||
<#-- Thumbnail -->
|
<#-- Image -->
|
||||||
<#if individual.thumbUrl??>
|
<@p.imageLinks individual propertyGroups editing />
|
||||||
<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>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="individual-info" role="region">
|
<section id="individual-info" role="region">
|
||||||
|
|
|
@ -5,12 +5,12 @@
|
||||||
<#import "lib-list.ftl" as l>
|
<#import "lib-list.ftl" as l>
|
||||||
<#import "lib-properties.ftl" as p>
|
<#import "lib-properties.ftl" as p>
|
||||||
|
|
||||||
<#assign core = "http://vivoweb.org/ontology/core#">
|
|
||||||
|
|
||||||
<#assign editing = individual.showEditingLinks>
|
<#assign editing = individual.showEditingLinks>
|
||||||
|
|
||||||
<#assign editingClass>
|
<#assign editingClass>
|
||||||
<#if editing>editing</#if>
|
<#if editing>editing</#if>
|
||||||
</#assign>
|
</#assign>
|
||||||
|
|
||||||
<#assign propertyGroups = individual.propertyList>
|
<#assign propertyGroups = individual.propertyList>
|
||||||
|
|
||||||
|
<#assign core = "http://vivoweb.org/ontology/core#">
|
Loading…
Add table
Reference in a new issue