Merge branch 'maint-rel-1.6' into develop
This commit is contained in:
commit
c40c7ad0e5
5 changed files with 88 additions and 86 deletions
|
@ -2,10 +2,10 @@
|
||||||
<#if deptResearchAreas?has_content>
|
<#if deptResearchAreas?has_content>
|
||||||
<section id="pageList">
|
<section id="pageList">
|
||||||
<#list deptResearchAreas as firstRow>
|
<#list deptResearchAreas as firstRow>
|
||||||
<#assign raLink = "${urls.base}/individual?uri=${firstRow['raURI']}" />
|
<#assign raLink = "${urls.base}/individual?uri=${firstRow['ra']}" />
|
||||||
<div class="tab">
|
<div class="tab">
|
||||||
<h2>${firstRow["orgLabel"]}</h2>
|
<h2>${firstRow["orgLabel"]}</h2>
|
||||||
<p>${i18n().individuals_with_dept(firstRow['raLabel'],raLink)} <a href="${urls.base}/individual?uri=${firstRow["orgURI"]}">${i18n().view_all_individuals_in_dept}</a></p>
|
<p>${i18n().individuals_with_dept(firstRow['raLabel'],raLink)} <a href="${urls.base}/individual?uri=${firstRow["org"]}">${i18n().view_all_individuals_in_dept}</a></p>
|
||||||
</div>
|
</div>
|
||||||
<#break>
|
<#break>
|
||||||
</#list>
|
</#list>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
</#if>
|
</#if>
|
||||||
<div class="tab">
|
<div class="tab">
|
||||||
<h2>${firstRow["raLabel"]}</h2>
|
<h2>${firstRow["raLabel"]}</h2>
|
||||||
<p>${i18TextString1} <a href="${urls.base}/individual?uri=${firstRow["raURI"]}">${i18n().view_all_individuals_in_area}</a></p>
|
<p>${i18TextString1} <a href="${urls.base}/individual?uri=${firstRow["ra"]}">${i18n().view_all_individuals_in_area}</a></p>
|
||||||
</div>
|
</div>
|
||||||
<#break>
|
<#break>
|
||||||
</#list>
|
</#list>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<#list deptResearchAreas as firstRow>
|
<#list deptResearchAreas as firstRow>
|
||||||
<div class="tab">
|
<div class="tab">
|
||||||
<h2>${firstRow["raLabel"]}</h2>
|
<h2>${firstRow["raLabel"]}</h2>
|
||||||
<p>${i18n().faculty_with_researh_area(firstRow["deptLabel"])} <a href="${urls.base}/individual?uri=${firstRow["raURI"]}">${i18n().view_all_faculty_in_area}</a></p>
|
<p>${i18n().faculty_with_researh_area(firstRow["orgLabel"])} <a href="${urls.base}/individual?uri=${firstRow["ra"]}">${i18n().view_all_faculty_in_area}</a></p>
|
||||||
</div>
|
</div>
|
||||||
<#break>
|
<#break>
|
||||||
</#list>
|
</#list>
|
||||||
|
|
|
@ -65,8 +65,8 @@ display:getDepartmentDataGetter
|
||||||
?person
|
?person
|
||||||
(Str(?researchAreaLabel) AS ?raLabel)
|
(Str(?researchAreaLabel) AS ?raLabel)
|
||||||
(str(?departmentLabel) AS ?orgLabel)
|
(str(?departmentLabel) AS ?orgLabel)
|
||||||
?raURI
|
?ra
|
||||||
?orgURI
|
?org
|
||||||
WHERE {
|
WHERE {
|
||||||
?orgURI vivo:relatedBy ?posn .
|
?orgURI vivo:relatedBy ?posn .
|
||||||
?posn a vivo:Position .
|
?posn a vivo:Position .
|
||||||
|
@ -76,6 +76,8 @@ display:getDepartmentDataGetter
|
||||||
?person rdfs:label ?prsnLabel .
|
?person rdfs:label ?prsnLabel .
|
||||||
?person vivo:hasResearchArea ?raURI .
|
?person vivo:hasResearchArea ?raURI .
|
||||||
?raURI rdfs:label ?researchAreaLabel
|
?raURI rdfs:label ?researchAreaLabel
|
||||||
|
BIND(?raURI AS ?ra)
|
||||||
|
BIND(?orgURI AS ?org)
|
||||||
|
|
||||||
}
|
}
|
||||||
ORDER BY ?personLabel
|
ORDER BY ?personLabel
|
||||||
|
|
|
@ -107,9 +107,8 @@ display:getResearchAreaDataGetter
|
||||||
SELECT DISTINCT (str (?prsnLabel) AS ?personLabel)
|
SELECT DISTINCT (str (?prsnLabel) AS ?personLabel)
|
||||||
?person
|
?person
|
||||||
(Str(?researchAreaLabel) AS ?raLabel)
|
(Str(?researchAreaLabel) AS ?raLabel)
|
||||||
(str(?departmentLabel) AS ?orgLabel)
|
(str(?organizationLabel) AS ?orgLabel)
|
||||||
?raURI
|
?ra
|
||||||
?orgURI
|
|
||||||
WHERE {
|
WHERE {
|
||||||
?orgURI vivo:relatedBy ?posn .
|
?orgURI vivo:relatedBy ?posn .
|
||||||
?posn a vivo:Position .
|
?posn a vivo:Position .
|
||||||
|
@ -119,6 +118,7 @@ display:getResearchAreaDataGetter
|
||||||
?person rdfs:label ?prsnLabel .
|
?person rdfs:label ?prsnLabel .
|
||||||
?person vivo:hasResearchArea ?raURI .
|
?person vivo:hasResearchArea ?raURI .
|
||||||
?raURI rdfs:label ?researchAreaLabel
|
?raURI rdfs:label ?researchAreaLabel
|
||||||
|
BIND(?raURI AS ?ra)
|
||||||
|
|
||||||
}
|
}
|
||||||
ORDER BY ?personLabel
|
ORDER BY ?personLabel
|
||||||
|
|
Loading…
Add table
Reference in a new issue