NIHVIVO-2744 Display of mostSpecificType(s) on individual profile (in place of former moniker).
This commit is contained in:
parent
55c2f8f213
commit
31a8ec8b3a
3 changed files with 89 additions and 102 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue