VIVO-263: corrected counts on map display and updated us-states.rdf file to include relationship between states and the US.

This commit is contained in:
tworrall 2013-08-23 16:27:10 -04:00
parent 706e0ae1c1
commit 621be26e73
6 changed files with 47 additions and 7 deletions

View file

@ -205,3 +205,16 @@ var urlsBase = "${urls.base}";
</section>
</#macro>
<#-- retrieves a count, the number of researchers with a geographic focus, -->
<#-- and saves it as a js variable to be used by the homePageMaps.js file -->
<#macro getGeoResearcherCount>
<script>
<#if researcherCountDG?has_content>
<#assign theCount = researcherCountDG[0].count />
<#else>
<#assign theCount = 0 />
</#if>
var geoResearcherCount = ${theCount};
</script>
</#macro>