You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2017/02/26 15:09:44 UTC

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

Author: sebb
Date: Sun Feb 26 15:09:44 2017
New Revision: 1784455

URL: http://svn.apache.org/viewvc?rev=1784455&view=rev
Log:
COMDEV-215 projects.a.o msicounts podlings in evolution graph

Also fix count in page header

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=1784455&r1=1784454&r2=1784455&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Sun Feb 26 15:09:44 2017
@@ -1091,6 +1091,7 @@ function renderFrontPage() {
     var i;
     for (i in committees) numcommittees++;
     var curPodlings = 0;
+    for (i in podlings) curPodlings++;
 
     var nsubs = 0; // number of projects with DOAP that do not have same name than a committee
     for (i in projects) {
@@ -1098,9 +1099,6 @@ function renderFrontPage() {
         if (i.pmc != 'incubator' && !isCommittee(i.name)) {
             nsubs++;
         }
-        if (i['podling']) {
-            curPodlings++;
-        }
     }
     var initiatives = curPodlings + numcommittees + nsubs; // podlings + committees + sub-projects
     initiatives -= initiatives % 100; // round down