Change scinode popup information text - 'pubs.' to 'publications (pubs.)'

This commit is contained in:
kongchinhua 2011-07-12 21:25:13 +00:00
parent 34669b7c18
commit 891304b0f1

View file

@ -177,7 +177,7 @@ var DisciplineMarkerManager = ScimapMarkerManager.extend({
marker.setContent( marker.setContent(
'<div style="font-size: 80%; padding: 5px; text-align: left;"><b>' '<div style="font-size: 80%; padding: 5px; text-align: left;"><b>'
+ poly.label +'</b><br />' + poly.label +'</b><br />'
+ addCommasToNumber(poly.value.toFixed(2)) + ' of pubs.<br />' + addCommasToNumber(poly.value.toFixed(2)) + ' of publications (pubs.)<br />'
+ (poly.value * 100 / this.maxValue).toFixed(2) + '% of activity</div>' + (poly.value * 100 / this.maxValue).toFixed(2) + '% of activity</div>'
); );
return marker; return marker;
@ -198,7 +198,7 @@ var SubdisciplineMarkerManager = ScimapMarkerManager.extend({
marker.setContent( marker.setContent(
'<div style="font-size: 80%; padding: 5px; text-align: left;"><b>' '<div style="font-size: 80%; padding: 5px; text-align: left;"><b>'
+ poly.label + '</b> in ' + disciplineLabel +'<br />' + poly.label + '</b> in ' + disciplineLabel +'<br />'
+ addCommasToNumber(poly.value.toFixed(2)) + ' of pubs.<br />' + addCommasToNumber(poly.value.toFixed(2)) + ' of publications (pubs.)<br />'
+ (poly.value * 100 / this.maxValue).toFixed(2) + '% of activity</div>' + (poly.value * 100 / this.maxValue).toFixed(2) + '% of activity</div>'
); );