community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1766971 - in /comdev/projects.apache.org/site: js/projects.js project.html projects.html
Date Fri, 28 Oct 2016 08:47:25 GMT
Author: hboutemy
Date: Fri Oct 28 08:47:25 2016
New Revision: 1766971

URL: http://svn.apache.org/viewvc?rev=1766971&view=rev
Log:
Projects by Committee instead of by PMC: more consistency

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

Modified: comdev/projects.apache.org/site/js/projects.js
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/js/projects.js?rev=1766971&r1=1766970&r2=1766971&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Fri Oct 28 08:47:25 2016
@@ -825,7 +825,7 @@ function renderProjectsByNumber() {
     obj.appendChild(ul);
 }
 
-function renderProjectsByPMC() {
+function renderProjectsByCommittee() {
     var obj = document.getElementById('list');
     obj.innerHTML = "";
     var projectsSorted = sortProjects();
@@ -865,7 +865,7 @@ function renderProjectsByPMC() {
                 }
             }
         }
-        li.innerHTML = "<h3>" + committeeIcon() + "<a id='" + lpmc + "' href='committee.html?"+
lpmc + "'>" + committees[lpmc].name + " PMC</a> (" + c + ")" + (c>0?":": "") +
"</h3>";
+        li.innerHTML = "<h3>" + committeeIcon() + "<a id='" + lpmc + "' href='committee.html?"+
lpmc + "'>" + committees[lpmc].name + " Committee</a>" + (c>1?(" (" + c + ")"):"")
+ (c>0?":": "") + "</h3>";
         li.appendChild(cul);
         ul.appendChild(li);
     }
@@ -884,7 +884,8 @@ function buildProjectsList() {
         'language': [ 'language', renderProjectsByLanguage ],
         'category': [ 'category', renderProjectsByCategory ],
         'number': [ 'number of committers', renderProjectsByNumber ],
-        'pmc': [ 'Committee', renderProjectsByPMC ]
+        'pmc': [ 'Committee', renderProjectsByCommittee ]
+        'committee': [ 'Committee', renderProjectsByCommittee ]
     }
     if ((cat.length == 0) || !(cat in types)) {
         cat = "name";

Modified: comdev/projects.apache.org/site/project.html
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/project.html?rev=1766971&r1=1766970&r2=1766971&view=diff
==============================================================================
--- comdev/projects.apache.org/site/project.html (original)
+++ comdev/projects.apache.org/site/project.html Fri Oct 28 08:47:25 2016
@@ -30,7 +30,7 @@
    <ul>
       <li>Project listings:</li>
       <li><img src="images/byname.png"/> &nbsp; <a href="projects.html?name">By
Name</a></li>
-      <li><img src="images/bypmc.png"/> &nbsp; <a href="projects.html?pmc">By
Committee</a></li>
+      <li><img src="images/bypmc.png"/> &nbsp; <a href="projects.html?committee">By
Committee</a></li>
       <li><img src="images/bycategory.png"/> &nbsp; <a href="projects.html?category">By
Category</a></li>
       <li><img src="images/bylanguage.png"/> &nbsp; <a href="projects.html?language">By
Programming Language</a></li>
       <li><img src="images/bynumber.png"/> &nbsp; <a href="projects.html?number">By
Number of Committers</a></li>

Modified: comdev/projects.apache.org/site/projects.html
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/projects.html?rev=1766971&r1=1766970&r2=1766971&view=diff
==============================================================================
--- comdev/projects.apache.org/site/projects.html (original)
+++ comdev/projects.apache.org/site/projects.html Fri Oct 28 08:47:25 2016
@@ -30,7 +30,7 @@
    <ul>
       <li>Project listings:</li>
       <li><img src="images/byname.png"/> &nbsp; <a href="projects.html?name">By
Name</a></li>
-      <li><img src="images/bypmc.png"/> &nbsp; <a href="projects.html?pmc">By
Committee</a></li>
+      <li><img src="images/bypmc.png"/> &nbsp; <a href="projects.html?committee">By
Committee</a></li>
       <li><img src="images/bycategory.png"/> &nbsp; <a href="projects.html?category">By
Category</a></li>
       <li><img src="images/bylanguage.png"/> &nbsp; <a href="projects.html?language">By
Programming Language</a></li>
       <li><img src="images/bynumber.png"/> &nbsp; <a href="projects.html?number">By
Number of Committers</a></li>



Mime
View raw message