community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1669701 - /comdev/projects.apache.org/site/js/projects.js
Date Fri, 27 Mar 2015 22:58:03 GMT
Author: hboutemy
Date: Fri Mar 27 22:58:03 2015
New Revision: 1669701

URL: http://svn.apache.org/r1669701
Log:
always add project icon in projects by number of committers, even when no PMC count

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=1669701&r1=1669700&r2=1669701&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Fri Mar 27 22:58:03 2015
@@ -703,9 +703,9 @@ function renderProjectsList(cat) {
 		    var xlen = unixgroups[i].length
 		    if (xlen == len) {
 			var cli = document.createElement('li');
-			cli.innerHTML = projectLink(i) + ": " + len + " committers";
+			cli.innerHTML = projectIcon(projects[i].name) + projectLink(i) + ": " + len + " committers";
 			if (unixgroups[i+'-pmc']) {
-			    cli.innerHTML = projectIcon(projects[i].name) + cli.innerHTML + ", " + unixgroups[i+'-pmc'].length
+ " PMC members";
+			    cli.innerHTML += ", " + unixgroups[i+'-pmc'].length + " PMC members";
 			}
 			ul.appendChild(cli)
 		    }



Mime
View raw message