You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hb...@apache.org on 2015/06/25 00:39:13 UTC
svn commit: r1687386 - /comdev/reporter.apache.org/site/render.js
Author: hboutemy
Date: Wed Jun 24 22:39:13 2015
New Revision: 1687386
URL: http://svn.apache.org/r1687386
Log:
s/project/committee/ where accurate
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=1687386&r1=1687385&r2=1687386&view=diff
==============================================================================
--- comdev/reporter.apache.org/site/render.js (original)
+++ comdev/reporter.apache.org/site/render.js Wed Jun 24 22:39:13 2015
@@ -175,7 +175,7 @@ function addLine(pmc, line) {
function renderFrontPage(json) {
jsdata = json
var container = document.getElementById('contents')
- container.innerHTML = "<h2 style='text-align: center; margin-bottom: 10px;' class='hide-for-small-only'>Apache Project Report Helper</h2>Click on a project name to view statistics:"
+ container.innerHTML = "<h2 style='text-align: center; margin-bottom: 10px;' class='hide-for-small-only'>Apache Committee Report Helper</h2>Click on a committee name to view statistics:"
var top = document.createElement('div');
container.appendChild(top)
@@ -202,7 +202,7 @@ function renderFrontPage(json) {
for (i in json.pmcs) {
var pmc = json.pmcs[i]
- templates[pmc] = "Report from the " + (json.pdata[pmc].name ? json.pdata[pmc].name : pmc) + " project [" + (json.pdata[pmc].chair ? json.pdata[pmc].chair : "Put your name here") + "]\n\n"
+ templates[pmc] = "Report from the " + (json.pdata[pmc].name ? json.pdata[pmc].name : pmc) + " committee [" + (json.pdata[pmc].chair ? json.pdata[pmc].chair : "Put your name here") + "]\n\n"
addLine(pmc, "## Description:")
if (json.pdata[pmc].shortdesc) {
@@ -230,7 +230,7 @@ function renderFrontPage(json) {
var health = document.createElement('p');
if (json.health[pmc] && !isNaN(json.health[pmc]['cscore'])) {
health.style.marginTop = "10px"
- health.innerHTML = "<b>Project Health score:</b> <a href='/chi.py#"+pmc+"'><u><font color='" + hcolors[json.health[pmc]['cscore']] + "'>" + (6.33+(json.health[pmc]['score']*-1.00*(20/12.25))).toFixed(2) + " (" + hvalues[json.health[pmc]['cscore']] + ")</u></font></a>"
+ health.innerHTML = "<b>Committee Health score:</b> <a href='/chi.py#"+pmc+"'><u><font color='" + hcolors[json.health[pmc]['cscore']] + "'>" + (6.33+(json.health[pmc]['score']*-1.00*(20/12.25))).toFixed(2) + " (" + hvalues[json.health[pmc]['cscore']] + ")</u></font></a>"
obj.appendChild(health)
}
pcontainer.appendChild(obj)
@@ -242,7 +242,7 @@ function renderFrontPage(json) {
var mo = new Date().getMonth();
var reportdate = buildPanel(pmc, "Report date")
if (json.pdata[pmc].chair) {
- reportdate.innerHTML += "<b>Project Chair: </b>" + json.pdata[pmc].chair + "<br/>"
+ reportdate.innerHTML += "<b>Committee Chair: </b>" + json.pdata[pmc].chair + "<br/>"
}
GetAsyncJSON("reportingcycles.json?" + Math.random(), [pmc, reportdate, json.pdata[pmc].name], setReportDate)
@@ -264,7 +264,7 @@ function renderFrontPage(json) {
var npn = null;
addLine(pmc, "## PMC/Committership changes:")
addLine(pmc)
- addLine(pmc, " - Currently " + json.count[pmc][1] + " committers and " + json.count[pmc][0] + " PMC members in the project.")
+ addLine(pmc, " - Currently " + json.count[pmc][1] + " committers and " + json.count[pmc][0] + " PMC members in the committee.")
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 >2 years)</b></font>"
addLine(pmc, " - No new changes to the PMC or committership since last report.")
@@ -555,7 +555,7 @@ function renderFrontPage(json) {
}
if (json.pmcs.length == 0) {
- container.innerHTML = "You are not a member of any top level project PMC, sorry!"
+ container.innerHTML = "You are not a member of any PMC, sorry!"
}
$("#tabcontents").find("[id^='tab']").hide();