community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1688268 - /comdev/reporter.apache.org/site/render.js
Date Mon, 29 Jun 2015 17:29:31 GMT
Author: sebb
Date: Mon Jun 29 17:29:30 2015
New Revision: 1688268

URL: http://svn.apache.org/r1688268
Log:
COMDEV-141 Change display to indicate that it is only LDAP committee data that is displayed,
not official PMC membership

Modified:
    comdev/reporter.apache.org/site/render.js

Modified: comdev/reporter.apache.org/site/render.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/site/render.js?rev=1688268&r1=1688267&r2=1688268&view=diff
==============================================================================
--- comdev/reporter.apache.org/site/render.js (original)
+++ comdev/reporter.apache.org/site/render.js Mon Jun 29 17:29:30 2015
@@ -253,7 +253,7 @@ function renderFrontPage(json) {
 		var after = new Date();
 		after.setMonth(mo);
 
-		var changes = buildPanel(pmc, "PMC/Committership changes");
+		var changes = buildPanel(pmc, "LDAP committee/Committership changes");
 
 		var c = 0;
 		for (i in json.changes[pmc].committer) c++;
@@ -262,12 +262,12 @@ function renderFrontPage(json) {
 		var np = 0;
 		var ncn = null;
 		var npn = null;
-		addLine(pmc, "## PMC/Committership changes:")
+		addLine(pmc, "## LDAP committee/Committership changes:")
 		addLine(pmc)
-		addLine(pmc, " - Currently " + json.count[pmc][1] + " committers and " + json.count[pmc][0]
+ " PMC members in the committee.")
+		addLine(pmc, " - Currently " + json.count[pmc][1] + " committers and " + json.count[pmc][0]
+ " LDAP committee members.")
 		if (c == 0) {
-			changes.innerHTML += "<font color='red'><b>No new changes to the PMC or committer
base detected - (LDAP error or no changes for &gt;2 years)</b></font>"
-			addLine(pmc, " - No new changes to the PMC or committership since last report.")
+			changes.innerHTML += "<font color='red'><b>No new changes to the LDAP committee
or committer base detected - (LDAP error or no changes for &gt;2 years)</b></font>"
+			addLine(pmc, " - No new changes to the LDAP committee or committership since last report.")
 			addLine(pmc)
 		} else {
 			changes.innerHTML += "<h5>Changes within the last 3 months:</h5>"
@@ -282,7 +282,7 @@ function renderFrontPage(json) {
 				}
 			}
 			if (npmc > 1) {
-				addLine(pmc, " - New PMC members:")
+				addLine(pmc, " - New LDAP committee members:")
 			}
 			
 			
@@ -294,19 +294,19 @@ function renderFrontPage(json) {
 				}
 				if (entry[1] > after.getTime() / 1000) {
 					l++;
-					changes.innerHTML += "&rarr; " + entry[0] + " was added to the PMC on " + new Date(entry[1]
* 1000).toDateString() + "<br/>";
-					addLine(pmc, (npmc>1? "   " : "") + " - " + entry[0] + " was added to the PMC on
" + new Date(entry[1] * 1000).toDateString())
+					changes.innerHTML += "&rarr; " + entry[0] + " was added to the LDAP committee on
" + new Date(entry[1] * 1000).toDateString() + "<br/>";
+					addLine(pmc, (npmc>1? "   " : "") + " - " + entry[0] + " was added to the LDAP committee
on " + new Date(entry[1] * 1000).toDateString())
 				}
 			}
 			if (l == 0) {
 				addLine(pmc, " - No new PMC members added in the last 3 months")
-				changes.innerHTML += "&rarr; <font color='red'><b>No new PMC members
in the last 3 months.</b></font><br/>";
+				changes.innerHTML += "&rarr; <font color='red'><b>No new LDAP committee
members in the last 3 months.</b></font><br/>";
 			}
 			if (npn) {
 				if (np < after.getTime() / 1000) {
 					addLine(pmc, " - Last PMC addition was " + npn + " at " + new Date(np * 1000).toDateString())
 				}
-				changes.innerHTML += "&rarr; " + "<b>Latest PMC addition: </b>" + new
Date(np * 1000).toDateString() + " (" + npn + ")<br/>"
+				changes.innerHTML += "&rarr; " + "<b>Latest LDAP committee addition: </b>"
+ new Date(np * 1000).toDateString() + " (" + npn + ")<br/>"
 			}
 			
 			



Mime
View raw message