NIHVIVO-1709 Now using preferred title (if populated) next to person's name at the top of the page in lieu of the moniker
This commit is contained in:
parent
91c22de27e
commit
d1776d766c
1 changed files with 13 additions and 4 deletions
|
@ -101,9 +101,18 @@
|
||||||
<#-- Label -->
|
<#-- Label -->
|
||||||
<@p.label individual editable />
|
<@p.label individual editable />
|
||||||
|
|
||||||
<#-- Moniker -->
|
<#-- Moniker / Preferred Title -->
|
||||||
<#if individual.moniker?has_content>
|
<#-- Use Preferred Title over Moniker if it is populated -->
|
||||||
<span class="preferred-title">${individual.moniker}</span>
|
<#assign hasPreferredTitle = p.hasStatements(propertyGroups, "${core}preferredTitle") />
|
||||||
|
<#if hasPreferredTitle || individual.moniker?has_content>
|
||||||
|
<span class="preferred-title">
|
||||||
|
<#if hasPreferredTitle>
|
||||||
|
<#assign preferredTitle = propertyGroups.getProperty("${core}preferredTitle")! />
|
||||||
|
${preferredTitle.statements[0].value}
|
||||||
|
<#else>
|
||||||
|
${individual.moniker}
|
||||||
|
</#if>
|
||||||
|
</span>
|
||||||
</#if>
|
</#if>
|
||||||
</h1>
|
</h1>
|
||||||
</#if>
|
</#if>
|
||||||
|
|
Loading…
Add table
Reference in a new issue