NIHVIVO-2264 Display property label with add link OR verbose property display, for properties that don't normally display a label (e.g., core:overview)
This commit is contained in:
parent
35a48005b9
commit
f3ce105d94
2 changed files with 5 additions and 4 deletions
|
@ -82,8 +82,9 @@ we need to also show the property label. If no label is specified, the property
|
|||
name will be used as the label. -->
|
||||
<#macro addLinkWithLabel property editable label="${property.name?capitalize}" extraParams="">
|
||||
<#local addLink><@addLink property editable label extraParams /></#local>
|
||||
<#if addLink?has_content>
|
||||
<h2 id="${property.localName}">${label} ${addLink} <@verboseDisplay property /></h2>
|
||||
<#local verboseDisplay><@verboseDisplay property /></#local>
|
||||
<#if addLink?has_content || verboseDisplay?has_content>
|
||||
<h2 id="${property.localName}">${label} ${addLink!} ${verboseDisplay!}</h2>
|
||||
</#if>
|
||||
</#macro>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue