tweaked a prop-statement list view template
This commit is contained in:
parent
79699bd53b
commit
6829fc83d1
1 changed files with 4 additions and 13 deletions
|
@ -28,25 +28,16 @@
|
||||||
so use the type label instead if not collated by subclass.
|
so use the type label instead if not collated by subclass.
|
||||||
-->
|
-->
|
||||||
<#local roleLabel>
|
<#local roleLabel>
|
||||||
<#--
|
|
||||||
Display, e.g., "Principal Investigator" for "Principal Investigator Role", "Editor" for "Editor Role".
|
|
||||||
This information is redundant if the property is collated, since it appears in the subclass label.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<#if statement.roleTypeLabel?has_content>
|
<#if statement.roleTypeLabel?has_content>
|
||||||
<#assign roleTypeLabel = statement.roleTypeLabel >
|
<#assign roleTypeLabel = statement.roleTypeLabel!"" >
|
||||||
<#else>
|
|
||||||
<#assign roleTypeLabel = "" >
|
|
||||||
</#if>
|
</#if>
|
||||||
<#if statement.roleLabel?has_content>
|
<#if statement.roleLabel??>
|
||||||
<#if statement.roleLabel?lower_case?replace(" role", "") != roleTypeLabel?lower_case?replace(" role", "")>
|
${statement.roleLabel?replace(" Role", "")?replace(" role","")}
|
||||||
${statement.roleLabel?replace(" Role", "")}
|
<#elseif !property.collatedBySubclass >
|
||||||
</#if>
|
|
||||||
<#elseif (! property.collatedBySubclass ) && roleTypeLabel?has_content>
|
|
||||||
${roleTypeLabel?replace(" Role", "")}
|
${roleTypeLabel?replace(" Role", "")}
|
||||||
</#if>
|
</#if>
|
||||||
</#local>
|
</#local>
|
||||||
|
|
||||||
${linkedIndividual} ${roleLabel!} <@dt.yearIntervalSpan "${statement.dateTimeStart!}" "${statement.dateTimeEnd!}" />
|
${linkedIndividual} ${roleLabel!} <@dt.yearIntervalSpan "${statement.dateTimeStart!}" "${statement.dateTimeEnd!}" />
|
||||||
|
|
||||||
</#macro>
|
</#macro>
|
||||||
|
|
Loading…
Add table
Reference in a new issue