1. Modified javascript for person level page to adapt tp freemarker changes.
2. Abstracted out the table generating code for sparklines out. This gives us flexibility to put the table wherever we want in the template. 3. Made changes to coauth person l;evel page to display all the content. TThe data is all there with links. 4. Adapted person pub count & coauth sparklines to adapt to new table generating template. 5. Changed coauth vis code gen to include a missing data value. 6. Fixed a bug in person level req handler.
This commit is contained in:
parent
428c8a24ce
commit
7568601dc4
7 changed files with 576 additions and 557 deletions
|
@ -148,6 +148,8 @@ public class CoAuthorshipVisCodeGenerator {
|
|||
|
||||
numOfYearsToBeRendered = currentYear - minPubYearConsidered + 1;
|
||||
|
||||
sparklineData.setNumOfYearsToBeRendered(numOfYearsToBeRendered);
|
||||
|
||||
visualizationCode.append("<style type='text/css'>"
|
||||
+ "." + VISUALIZATION_STYLE_CLASS + " table{"
|
||||
+ " margin: 0;"
|
||||
|
|
|
@ -82,7 +82,7 @@ public class PersonLevelRequestHandler implements VisualizationRequestHandler {
|
|||
VisualizationFrameworkConstants.VIS_MODE_KEY);
|
||||
|
||||
|
||||
if (VisualizationFrameworkConstants.CO_PI_VIS.equalsIgnoreCase(visMode)) {
|
||||
if (VisualizationFrameworkConstants.COPI_VIS_MODE.equalsIgnoreCase(visMode)) {
|
||||
|
||||
QueryRunner<CoPIData> coPIQueryManager = new CoPIGrantCountQueryRunner(egoURI, dataSource, log);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue