NIHVIVO-2682 - changed list view so that if both an activity (roleIn) and an information resource (forInformationResource) are associated with the role then both will be displayed in the list view. (if only one or the other is present then that one will be displayed).
This commit is contained in:
parent
6ee5771c01
commit
4fedd2e477
1 changed files with 5 additions and 1 deletions
|
@ -16,7 +16,11 @@
|
|||
<#macro showRole statement>
|
||||
<#local linkedIndividual>
|
||||
<#if statement.infoResource??>
|
||||
<#if statement.activity??>
|
||||
<a href="${profileUrl(statement.infoResource)}">${statement.infoResourceLabel!statement.infoResourceName}</a> <a href="${profileUrl(statement.activity)}">${statement.activityLabel!statement.activityName}</a>
|
||||
<#else>
|
||||
<a href="${profileUrl(statement.infoResource)}">${statement.infoResourceLabel!statement.infoResourceName}</a>
|
||||
</#if>
|
||||
<#elseif statement.activity??>
|
||||
<a href="${profileUrl(statement.activity)}">${statement.activityLabel!statement.activityName}</a>
|
||||
<#else>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue