community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1679798 - in /comdev/projects.apache.org/site: index.html js/projects.js
Date Sat, 16 May 2015 19:22:17 GMT
Author: hboutemy
Date: Sat May 16 19:22:17 2015
New Revision: 1679798

URL: http://svn.apache.org/r1679798
Log:
revert r1679797

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

Modified: comdev/projects.apache.org/site/index.html
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/index.html?rev=1679798&r1=1679797&r2=1679798&view=diff
==============================================================================
--- comdev/projects.apache.org/site/index.html (original)
+++ comdev/projects.apache.org/site/index.html Sat May 16 19:22:17 2015
@@ -32,15 +32,15 @@
    <p>This site is a catalog of Apache Software Foundation projects.
       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>
-   <h3 style='text-align: center;'>There are currently <span style='color: #269;'><span
id="initiatives">300</span>+</span> open source initatives at the ASF:</h3>
-   <ul style='width: 300px; margin: 0 auto; font-size: 18px; color: #269; font-weight:
bold;'>
-      <li><span id="tlps">~160</span> top level software projects</li>
-      <li><span id="subs">~100</span> sub-projects</li>
-      <li>5 special committees*</li>
-      <li><span id="prodlings">~40</span> incubating podlings</li>
-   </ul>
-   <p><small>*Infrastructure, Travel Assistance, Security Team, Legal Affairs
and Brand Management</small></p>
    <div id="details">
+      <h3 style='text-align: center;'>There are currently <span style='color: #269;'>300+</span>
open source initatives at the ASF:</h3>
+      <ul style='width: 300px; margin: 0 auto; font-size: 18px; color: #269; font-weight:
bold;'>
+      <li>~160 top level software projects</li>
+      <li>~100 sub-projects</li>
+      <li>5 special committees*</li>
+      <li>~40 incubating podlings</li>
+      </ul>
+      <p><small>*Infrastructure, Travel Assistance, Security Team, Legal Affairs
and Brand Management</small></p>
       <p style="text-align: center;">
       Loading data, please wait...<br/>
       <img src="/images/loader.gif"/>

Modified: comdev/projects.apache.org/site/js/projects.js
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/js/projects.js?rev=1679798&r1=1679797&r2=1679798&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Sat May 16 19:22:17 2015
@@ -891,12 +891,14 @@ function renderFrontPage() {
     }
     var initiatives = cur + numchairs + nsubs + 5; // podlings + tlps + sub-projects + specials
     initiatives -= initiatives % 100; // round down
-    document.getElementsByName('initiatives').innerHTML = initiatives;
-    document.getElementsByName('tlps').innerHTML = numchairs;
-    document.getElementsByName('subs').innerHTML = nsubs;
-    document.getElementsByName('podling').innerHTML = cur;
     var obj = document.getElementById('details');
-    obj.innerHTML = "";
+    obj.innerHTML = "<h3 style='text-align: center;'>There are currently <span style='color:
#269;'>" + initiatives + "+</span> open source initatives at the ASF:</h3>"
+	+ "<ul style='width: 300px; margin: 0 auto; font-size: 18px; color: #269; font-weight:
bold;'>"
+    	+ "<li>" + numchairs + " top level software projects</li>"
+    	+ "<li>" + nsubs + " sub-projects</li>"
+    	+ "<li>5 special committees*</li>"
+    	+ "<li>" + cur + " incubating podlings</li></ul>"
+    	+ "<p><small>*Infrastructure, Travel Assistance, Security Team, Legal Affairs
and Brand Management</small></p>";
 
     var parr = [];
     var cur = 0;



Mime
View raw message