NIHVIVO-3303 - showing the defining source for a concept
This commit is contained in:
parent
bb4b5af2b3
commit
337249e90c
2 changed files with 43 additions and 4 deletions
|
@ -6,11 +6,14 @@
|
|||
is also used to generate the property statement during a deletion.
|
||||
-->
|
||||
|
||||
|
||||
<@showConcept statement />
|
||||
|
||||
<#-- Use a macro to keep variable assignments local; otherwise the values carry over to the
|
||||
next statement -->
|
||||
<#macro showConcept statement>
|
||||
<a href="${statement.concept}">${statement.conceptLabel!statement.conceptName}</a>
|
||||
<#if statement.vocabularySourceName??>
|
||||
<a href="${statement.concept}">${statement.conceptLabel!statement.conceptName}</a> (<a href="${statement.vocabularySource}">${statement.vocabularySourceName}</a>)
|
||||
<#else>
|
||||
<a href="${statement.concept}">${statement.conceptLabel!statement.conceptName}</a>
|
||||
</#if>
|
||||
</#macro>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue