community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1673661 - /comdev/projects.apache.org/site/js/projects.js
Date Wed, 15 Apr 2015 07:10:53 GMT
Author: hboutemy
Date: Wed Apr 15 07:10:53 2015
New Revision: 1673661

URL: http://svn.apache.org/r1673661
Log:
display committer only on TLPs and incubating subprojects: committers of 'normal' sub-projects
are committers ot the corresponding TLP (AFAIK)

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=1673661&r1=1673660&r2=1673661&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Wed Apr 15 07:10:53 2015
@@ -235,6 +235,7 @@ function renderProjectPage(json, state)
 
     var obj = document.getElementById('contents');
     var isTLP = false
+    var isIncubating = false
     if ((!json || !json.name) && projects[state]) {
 	json = projects[state];
     }
@@ -300,6 +301,7 @@ function renderProjectPage(json, state)
 	}
 	if (json.podling || json.name.match(/incubating/i)) {
 	    li.innerHTML = "<b>Project status:</b> <span class='ppodling'>Incubating</span>";
+	    isIncubating = true;
 	}
 	
 	ul.appendChild(li)
@@ -364,7 +366,7 @@ function renderProjectPage(json, state)
 	}
 	
 	// Committers
-	if (unixgroups[state]) {
+	if (unixgroups[state] && (isTLP || isIncubating)) {
 	    pmcl = []
 	    for (i in unixgroups[state]) {
 		cid = unixgroups[state][i]



Mime
View raw message