community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1864606 - in /comdev/reporter.apache.org/trunk/site/wizard/js: source/statistics_generator.js wizard.js
Date Wed, 07 Aug 2019 09:05:35 GMT
Author: humbedooh
Date: Wed Aug  7 09:05:35 2019
New Revision: 1864606

URL: http://svn.apache.org/viewvc?rev=1864606&view=rev
Log:
only show if worth showing

Modified:
    comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js
    comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js?rev=1864606&r1=1864605&r2=1864606&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.js Wed Aug
 7 09:05:35 2019
@@ -308,7 +308,7 @@ function statistics_health(data) {
             xhtml.inject(new HTML('br'))
         } else if (hasdevlist) {
             kibble_mailstats(xhtml, data.kibble.timeseries.devlist, color);
-        } else if (hasuserlist) {
+        } else if (hasuserlist && txt.length > 0) {
             kibble_mailstats(xhtml, data.kibble.timeseries.userlist, color);
         }
 

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js?rev=1864606&r1=1864605&r2=1864606&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js Wed Aug  7 09:05:35 2019
@@ -2407,7 +2407,7 @@ function statistics_health(data) {
             xhtml.inject(new HTML('br'))
         } else if (hasdevlist) {
             kibble_mailstats(xhtml, data.kibble.timeseries.devlist, color);
-        } else if (hasuserlist) {
+        } else if (hasuserlist && txt.length > 0) {
             kibble_mailstats(xhtml, data.kibble.timeseries.userlist, color);
         }
 



Mime
View raw message