NIHVIVO-3230: list view now displays the parent organization of the org that the position is in
This commit is contained in:
parent
9e71a78bd7
commit
490d5dedeb
2 changed files with 41 additions and 2 deletions
|
@ -23,7 +23,14 @@
|
|||
<a href="${profileUrl(statement.position)}">missing organization</a>
|
||||
</#if>
|
||||
</#local>
|
||||
<#-- The sparql query returns both the org's parent (middleOrg) and grandparent (outerOrg).
|
||||
For now, we are only displaying the parent in the list view. -->
|
||||
<#local middleOrganization>
|
||||
<#if statement.middleOrg??>
|
||||
<a href="${profileUrl(statement.middleOrg)}">${statement.middleOrgName!}</a>
|
||||
</#if>
|
||||
</#local>
|
||||
|
||||
<@s.join [ linkedIndividual, statement.positionTitle!statement.hrJobTitle! ] /> <@dt.yearIntervalSpan "${statement.dateTimeStart!}" "${statement.dateTimeEnd!}" />
|
||||
<@s.join [ linkedIndividual, statement.positionTitle!statement.hrJobTitle!, middleOrganization! ] /> <@dt.yearIntervalSpan "${statement.dateTimeStart!}" "${statement.dateTimeEnd!}" />
|
||||
|
||||
</#macro>
|
Loading…
Add table
Add a link
Reference in a new issue