2012-07-03 20:20:35 +00:00
|
|
|
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
2012-07-03 17:07:41 +00:00
|
|
|
|
|
|
|
<#import "lib-properties.ftl" as p>
|
|
|
|
|
|
|
|
<li class="individual" role="listitem" role="navigation">
|
|
|
|
|
|
|
|
<#if (individual.thumbUrl)??>
|
|
|
|
<img src="${individual.thumbUrl}" width="90" alt="${individual.name}" />
|
|
|
|
<h1 class="thumb">
|
2015-02-10 12:23:47 -07:00
|
|
|
<a href="${individual.profileUrl}" title="View the profile page for ${individual.name}">${individual.name}</a>
|
2012-07-03 17:07:41 +00:00
|
|
|
</h1>
|
|
|
|
<#else>
|
|
|
|
<h1>
|
2015-02-10 12:23:47 -07:00
|
|
|
<a href="${individual.profileUrl}" title="View the profile page for ${individual.name}">${individual.name}</a>
|
2012-07-03 17:07:41 +00:00
|
|
|
</h1>
|
|
|
|
</#if>
|
|
|
|
|
|
|
|
<#if (extra[0].pt)?? >
|
|
|
|
<span class="title">${extra[0].pt}</span>
|
|
|
|
<#else>
|
|
|
|
<#assign cleanTypes = 'edu.cornell.mannlib.vitro.webapp.web.TemplateUtils$DropFromSequence'?new()(individual.mostSpecificTypes, vclass) />
|
|
|
|
<#if cleanTypes?size == 1>
|
|
|
|
<span class="title">${cleanTypes[0]}</span>
|
|
|
|
<#elseif (cleanTypes?size > 1) >
|
|
|
|
<span class="title">
|
|
|
|
<ul>
|
|
|
|
<#list cleanTypes as type>
|
|
|
|
<li>${type}</li>
|
|
|
|
</#list>
|
|
|
|
</ul>
|
|
|
|
</span>
|
|
|
|
</#if>
|
|
|
|
</#if>
|
|
|
|
|
|
|
|
<#if (details[0].deptName)?? >
|
|
|
|
<span class="title"><em>Member of</em> ${details[0].deptName}</span>
|
|
|
|
</#if>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|