1. Refactored the vis code geenrators for publication, coauthor, coinvestigator, grants sparklines to remove unused code.
2. Changed logic to not to generate link to csv downloads if there is 0 publication/grant for an individual.
This commit is contained in:
parent
4f7d3b8302
commit
c2a0816ec1
10 changed files with 189 additions and 1687 deletions
|
@ -188,10 +188,11 @@
|
|||
if (totalGrants !== totalGrantCount) {
|
||||
sparksText += ' (' + totalGrantCount + ' total)';
|
||||
}
|
||||
|
||||
|
||||
if (totalGrantCount) {
|
||||
sparksText += '<br /> <a href="${sparklineVO.downloadDataLink}" >(.CSV File)</a> ';
|
||||
}
|
||||
|
||||
sparksText += '<br /> <a href="${sparklineVO.downloadDataLink}" >(.CSV File)</a> ';
|
||||
|
||||
</#if>
|
||||
|
||||
if (!onlyUnknownYearGrants) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue