Author: humbedooh Date: Mon Oct 10 15:52:51 2022 New Revision: 1904497 URL: http://svn.apache.org/viewvc?rev=1904497&view=rev Log: reintroduce BugZilla stats
Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/statistics_generator.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=1904497&r1=1904496&r2=1904497&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 Mon Oct 10 15:52:51 2022 @@ -314,10 +314,20 @@ function statistics_health(data) { } - txt = ""; // Bugzilla changes let bz = data.bugzilla[project]; - if (bz[0] || bz[1]) txt += "<li>%u BugZilla tickets opened and %u closed in the past quarter.</li>".format(bz[0], bz[1]); + if (bz[0] || bz[1]) { + let xhtml = new HTML('div', { + style: { + position: 'relative', + clear: 'both' + } + }); + let txt = "<h5>BugZilla activity:</h5>"; + txt += "<li>%u BugZilla tickets opened and %u closed in the past quarter.</li>".format(bz[0], bz[1]); + xhtml.innerHTML = txt; + html.inject(xhtml); + } // JIRA changes if (data.kibble.timeseries.jira.length > 0) {