community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From he...@apache.org
Subject svn commit: r1821924 - /comdev/reporter.apache.org/trunk/site/js/render-hppdev.js
Date Mon, 22 Jan 2018 19:09:52 GMT
Author: henkp
Date: Mon Jan 22 19:09:52 2018
New Revision: 1821924

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

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=1821924&r1=1821923&r2=1821924&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/js/render-hppdev.js (original)
+++ comdev/reporter.apache.org/trunk/site/js/render-hppdev.js Mon Jan 22 19:09:52 2018
@@ -823,8 +823,13 @@ function renderBZ(pmc) {
 
 function renderChecker(pmc) {
     var obj = buildPanel(pmc, "Dist Checker") ;
-    var errors = jsdata.checker[pmc]['errors'] ;
-    obj.innerHTML += errors + ' errors' ;
+    var data = jsdata.checker[pmc] ;
+    var meta = data['meta'] ;
+    var errs = data['errors'] ;
+    var summ = data['summary'] ;
+    var href = meta['uri_base'] + data['uri_proj'] ;
+    obj.innerHTML += errs + ' errors<br>' ;
+    obj.innerHTML += 'for details see <a href="' + uri + '">' + uri + '</a><br>'
;
 }
 
 function renderChart(json, name, container, delivery) {



Mime
View raw message