VIVO-827: display the vocabulary source on a concept profile page

This commit is contained in:
Tim Worrall 2014-08-29 12:27:06 -04:00
parent 093aed785a
commit 19f1db691d
3 changed files with 42 additions and 0 deletions

View file

@ -10,6 +10,7 @@
${classSpecificExtension!}
${departmentalGrantsExtension!}
<!--PREINDIVIDUAL OVERVIEW.FTL-->
<#include "individual-vocabularyService.ftl">
<#include "individual-webpage.ftl">
<#include "individual-overview.ftl">
${affiliatedResearchAreas!}

View file

@ -0,0 +1,26 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#if vocabularyService?has_content>
<h2 class="mainPropGroup">Vocabulary Service</h2>
<ul>
<li>
<#switch vocabularyService[0]['vocabService']>
<#case "AGROVOC">
AGROVOC (Agricultural Vocabulary)
<#break>
<#case "GEMET">
GEMET (GEneral Multilingual Environmental Thesaurus)
<#break>
<#case "LCSH">
LCSH (Library of Congress Subject Headings)
<#break>
<#case "UMLS">
UMLS (Unified Medical Language System)
<#break>
<#default>
${vocabularyService[0]['vocabService']!}
</#switch>
</li>
</ul>
</#if>