Author: sebb
Date: Sun Jun 8 22:49:29 2025
New Revision: 1926262
URL: http://svn.apache.org/viewvc?rev=1926262&view=rev
Log:
Something went wrong; revert
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=1926262&r1=1926261&r2=1926262&view=diff
==============================================================================
--- comdev/projects.apache.org/trunk/site/index.html (original)
+++ comdev/projects.apache.org/trunk/site/index.html Sun Jun 8 22:49:29 2025
@@ -33,12 +33,12 @@
<p>This site is a catalog of Apache Software Foundation <a
href="projects.html">projects</a> and their <a
href="committees.html">management committees</a>.
It is designed to help you find specific projects that meet your
interests and to gain a broader understanding of
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
-->
+ <!-- N.B. This text must agree with the 'obj.innerHTML' code in projects,
which replaces it -->
<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 currently <span style='color:
#269;'>TBA</span> 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>
+ <li>TBA <a href='committees.html'>committees</a> managing TBA <a
href='projects.html'>projects</a></li>
+ <li>TBA incubating podlings</li>
</ul>
<p style="text-align: center;">
Loading data, please wait...<br/>
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=1926262&r1=1926261&r2=1926262&view=diff
==============================================================================
--- comdev/projects.apache.org/trunk/site/js/projects.js (original)
+++ comdev/projects.apache.org/trunk/site/js/projects.js Sun Jun 8 22:49:29
2025
@@ -1032,18 +1032,17 @@ function renderFrontPage() {
var initiatives = numProjects + curPodlings; // both PMC and podlings
initiatives -= initiatives % 50; // round down to nearest 50
var obj = document.getElementById('details');
+ obj.innerHTML = ""
if (urlErrors.length > 0) {
obj.innerHTML += "<p><span style='color: red'><b>Warning: could not
load: "+urlErrors.join(', ')+"</b></span></p>"
}
- // N.B. These ids must agree with the 'details' div in index.html
- obj = document.getElementById('initiatives');
- obj.innerHTML = initiatives;
- obj = document.getElementById('committees');
- obj.innerHTML = numcommittees;
- obj = document.getElementById('projects');
- obj.innerHTML = numProjects;
- obj = document.getElementById('podlings');
- obj.innerHTML = curPodlings;
+ // N.B. This text must agree with the 'details' div in index.html, which
it replaces
+ obj.innerHTML
+ += "<h3 style='text-align: center;'>There are currently <span
style='color: #269;'>" + initiatives + "+</span> open source initiatives at the
ASF:</h3>"
+ + "<ul style='width: 400px; margin: 0 auto; font-size: 18px; color:
#269; font-weight: bold;'>"
+ + "<li>" + numcommittees + " <a href='committees.html'>committees</a>
managing " + numProjects + " <a href='projects.html'>projects</a></li>"
+ + "<li>" + curPodlings + " incubating podlings</li></ul>"
+
renderCommitteeEvolution();
renderPodlingsEvolution();
renderLanguageChart();