NIHVIVO-3869 Add license tags, use "head of" relationship instead of "current head of", and display the geographic location clearly.

This commit is contained in:
j2blake 2012-07-03 20:20:35 +00:00
parent 1cc61fc954
commit 7e90e2f9e4
5 changed files with 10 additions and 3 deletions

View file

@ -115,7 +115,8 @@ PREFIX vivo: <http://vivoweb.org/ontology/core#>
SELECT ?label
WHERE
{
?individualUri vivo:currentlyHeadedBy ?head .
?individualUri vivo:contributingRole ?role .
?role vivo:leaderRoleOf ?head .
?head rdfs:label ?label .
}
LIMIT 1

View file

@ -1,4 +1,4 @@
<#-- Default individual browse view -->
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#import "lib-properties.ftl" as p>

View file

@ -1,3 +1,5 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#import "lib-vivo-properties.ftl" as p>
<a href="${individual.profileUrl}" title="individual name">${individual.name}</a>
@ -7,7 +9,7 @@
<#if locations??>
<#list locations as location>
<#if (location.label)?? >
<span class="title">Not valid in ${location.label}</span>
<span class="title">Located in ${location.label}</span>
</#if>
</#list>
</#if>

View file

@ -1,3 +1,5 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#import "lib-vivo-properties.ftl" as p>
<a href="${individual.profileUrl}" title="individual name">${individual.name}</a>

View file

@ -1,3 +1,5 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#import "lib-vivo-properties.ftl" as p>
<a href="${individual.profileUrl}" title="individual name">${individual.name}</a>