You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hb...@apache.org on 2015/05/10 20:06:07 UTC

svn commit: r1678591 - /comdev/projects.apache.org/site/js/projects.js

Author: hboutemy
Date: Sun May 10 18:06:07 2015
New Revision: 1678591

URL: http://svn.apache.org/r1678591
Log:
changed tooltip message

Modified:
    comdev/projects.apache.org/site/js/projects.js

Modified: comdev/projects.apache.org/site/js/projects.js
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/js/projects.js?rev=1678591&r1=1678590&r2=1678591&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Sun May 10 18:06:07 2015
@@ -867,7 +867,7 @@ function isTLP(project) {
 // ------------ Front page rendering ------------\\
 function htmlListTooltip(date,name,values) {
     return '<div style="padding:8px 8px 8px 8px;"><b>' + date + '</b>'
-	+ '<br/>' + name + ': <b>' + values.length + '</b>'
+	+ '<br/><b>' + values.length + '</b> ' + name + ((values.length > 1) ? 's:':':')
 	+ ((values.length > 0) ? '<br/>- '+values.join('<br/>- '):'')
 	+ '</div>';
 }
@@ -918,7 +918,7 @@ function renderFrontPage() {
 	    }
 	}
 	cur += newTlps.length - retiredTlps.length;
-	parr.push([i, newTlps.length, htmlListTooltip(i, 'New TLPs', newTlps), retiredTlps.length, htmlListTooltip(i, 'Retired TLPs', retiredTlps), cur]);
+	parr.push([i, newTlps.length, htmlListTooltip(i, 'new TLP', newTlps), retiredTlps.length, htmlListTooltip(i, 'retired TLP', retiredTlps), cur]);
     }
     //narr.sort(function(a,b) { return (b[1] - a[1]) });
     var data1 = new google.visualization.DataTable();