VIVO-485 convert datagetter to ajax call
This commit is contained in:
parent
50d788adb4
commit
6fd299301c
6 changed files with 152 additions and 83 deletions
|
@ -204,17 +204,3 @@ 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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue