NIHVIVO-2744 Display of mostSpecificType(s) on individual profile (in place of former moniker).
This commit is contained in:
parent
d74f5f3072
commit
5998f8b095
14 changed files with 95 additions and 34 deletions
|
@ -31,10 +31,8 @@
|
|||
<#-- Label -->
|
||||
<@p.label individual editable />
|
||||
|
||||
<#-- Moniker -->
|
||||
<#if individual.moniker?has_content>
|
||||
<span class="preferred-title">${individual.moniker}</span>
|
||||
</#if>
|
||||
<#-- Most-specific types -->
|
||||
<@p.mostSpecificTypes individual />
|
||||
</h1>
|
||||
</#if>
|
||||
</header>
|
||||
|
|
|
@ -240,3 +240,11 @@ name will be used as the label. -->
|
|||
<@editingLinks "label" label editable />
|
||||
</#macro>
|
||||
|
||||
<#-- Most specific types -->
|
||||
<#macro mostSpecificTypes individual>
|
||||
<#local types = individual.mostSpecificTypes />
|
||||
<#list types as type>
|
||||
<span class="most-specific-type">${type}</span>
|
||||
</#list>
|
||||
</#macro>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue