NIHVIVO-2744 Display of mostSpecificType(s) on individual profile (in place of former moniker).

This commit is contained in:
ryounes 2011-06-23 15:00:27 +00:00
parent 55c2f8f213
commit 31a8ec8b3a
3 changed files with 89 additions and 102 deletions

View file

@ -71,16 +71,9 @@
<h1 class="fn foaf-person">
<#-- Label -->
<@p.label individual editable />
<#-- Moniker / Preferred Title -->
<#-- Use Preferred Title over Moniker if it is populated -->
<#assign title = (propertyGroups.getProperty("${core}preferredTitle").firstValue)! />
<#if ! title?has_content>
<#assign title = individual.moniker>
</#if>
<#if title?has_content>
<span class="preferred-title">${title}</span>
</#if>
<#-- Most-specific types -->
<@p.mostSpecificTypes individual />
</h1>
</#if>