community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From he...@apache.org
Subject svn commit: r1822122 - /comdev/reporter.apache.org/trunk/site/js/render-hppdev.js
Date Wed, 24 Jan 2018 16:56:36 GMT
Author: henkp
Date: Wed Jan 24 16:56:36 2018
New Revision: 1822122

URL: http://svn.apache.org/viewvc?rev=1822122&view=rev
Log:
show checker errors, if any

Modified:
    comdev/reporter.apache.org/trunk/site/js/render-hppdev.js

Modified: comdev/reporter.apache.org/trunk/site/js/render-hppdev.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/js/render-hppdev.js?rev=1822122&r1=1822121&r2=1822122&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/js/render-hppdev.js (original)
+++ comdev/reporter.apache.org/trunk/site/js/render-hppdev.js Wed Jan 24 16:56:36 2018
@@ -537,6 +537,16 @@ function renderFrontPage(json) {
 
 		addLine(pmc)
 
+                // Dist Checker 
+                // HPP : handle json.checker[pmc] == undefined ; shouldn't happen
+                if ( json.checker[pmc] ) {
+                     if ( json.checker[pmc]['errors'] > 0 ) { renderChecker(pmc) }
+                } else {
+                     var obj = buildPanel(pmc, "Dist Checker") ;
+                     obj.innerHTML += "No checker data for PMC [" + pmc + "]\n" ;
+                }
+
+
 		var mlbox = buildPanel(pmc, "Mailing lists");
 
 		var ul = document.createElement('ul')
@@ -679,15 +689,6 @@ function renderFrontPage(json) {
 			renderJIRA(pmc)
 		}
 
-        // HPP : handle json.checker[pmc] == undefined ; shouldn't happen
-        if ( json.checker[pmc] ) {
-             if ( json.checker[pmc]['errors'] > 0 ) { renderChecker(pmc) }
-        } else {
-             var obj = buildPanel(pmc, "Dist Checker") ;
-             obj.innerHTML += "No checker data for PMC [" + pmc + "]\n" ;
-        }
-
-
 		// Reporting example
 		var template = buildPanel(pmc, "Report template");
 		template.innerHTML += "<pre style='border: 2px dotted #444; padding: 10px; background:
#FFD;' contenteditable='true'>" + templates[pmc] + "</pre>"



Mime
View raw message