Author: sebb
Date: Mon Jun  9 09:20:12 2025
New Revision: 1926275

URL: http://svn.apache.org/viewvc?rev=1926275&view=rev
Log:
Don't try to guess how many projects there are in total

Modified:
    comdev/projects.apache.org/trunk/site/index.html
    comdev/projects.apache.org/trunk/site/js/projects.js

Modified: comdev/projects.apache.org/trunk/site/index.html
URL: 
http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/site/index.html?rev=1926275&r1=1926274&r2=1926275&view=diff
==============================================================================
--- comdev/projects.apache.org/trunk/site/index.html (original)
+++ comdev/projects.apache.org/trunk/site/index.html Mon Jun  9 09:20:12 2025
@@ -35,7 +35,7 @@
       the wide variety of work currently underway in the Apache community.</p>
    <!-- N.B. This ids in this section must agree with the code in projects.js 
-->
    <div id="details">
-      <h3 style='text-align: center;'>There are currently <span 
id="initiatives" style='color: #269;'>TBA</span>+ open source initiatives at 
the ASF:</h3>
+      <h3 style='text-align: center;'>There are hundreds of open source 
initiatives at the ASF:</h3>
       <ul style='width: 400px; margin: 0 auto; font-size: 18px; color: #269; 
font-weight: bold;'>
       <li><span id="committees">TBA</span> <a 
href='committees.html'>committees</a> managing <span id="projects">TBA</span> 
<a href='projects.html'>projects</a></li>
       <li><span id="podlings">TBA</span> incubating podlings</li>

Modified: comdev/projects.apache.org/trunk/site/js/projects.js
URL: 
http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/site/js/projects.js?rev=1926275&r1=1926274&r2=1926275&view=diff
==============================================================================
--- comdev/projects.apache.org/trunk/site/js/projects.js (original)
+++ comdev/projects.apache.org/trunk/site/js/projects.js Mon Jun  9 09:20:12 
2025
@@ -1035,15 +1035,12 @@ function renderFrontPage() {
     var numprojectsWithDoaps = 0; // how many projects have registered DOAPs
     for (i in projectsWithDoaps) numprojectsWithDoaps++;
     numProjects += (numcommittees - numprojectsWithDoaps); // Add in projects 
without DOAPs
-    var initiatives = numProjects + curPodlings; // both PMC and podlings
-    initiatives -= initiatives % 50; // round down to nearest 50
     var obj = document.getElementById('details');
     if (urlErrors.length > 0) {
         obj.innerHTML += "<p><span style='color: red'><b>Warning: could not 
load: "+urlErrors.join(', ')+"</b></span></p>"
     }
     update_id('loading', ''); // clear the loading messages
     // N.B. These ids must agree with the 'details' div in index.html
-    update_id('initiatives', initiatives);
     update_id('committees', numcommittees);
     update_id('projects', numProjects);
     update_id('podlings', curPodlings);


Reply via email to