community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1864323 - in /comdev/reporter.apache.org/trunk/site/wizard/js: source/generators.js wizard.js
Date Sat, 03 Aug 2019 08:12:40 GMT
Author: humbedooh
Date: Sat Aug  3 08:12:40 2019
New Revision: 1864323

URL: http://svn.apache.org/viewvc?rev=1864323&view=rev
Log:
if no change, state so

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

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js?rev=1864323&r1=1864322&r2=1864323&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js Sat Aug  3 08:12:40
2019
@@ -233,6 +233,8 @@ function health_tips(data) {
       } else if (pct < 0) {
         if (pct < -10) color = 'maroon';
         ctxt += ' decrease';
+      } else {
+        ctxt = 'no change';
       }
       txt += "<li style='color: %s;'>%u commits in the past quarter (%s)</li>".format(color,
data.kibble.commits.after.commits, ctxt);
     }
@@ -247,6 +249,8 @@ function health_tips(data) {
       } else if (pct < 0) {
         if (pct < -10) color = 'maroon';
         ctxt += ' decrease';
+      } else {
+        ctxt = 'no change';
       }
       txt += "<li style='color: %s;'>%u code contributors in the past quarter (%s)</li>".format(color,
data.kibble.commits.after.authors, ctxt);
     }
@@ -262,6 +266,8 @@ function health_tips(data) {
       } else if (pct < 0) {
         if (pct < -10) color = 'maroon';
         ctxt += ' decrease';
+      } else {
+        ctxt = 'no change';
       }
       txt += "<li style='color: %s;'>%u PRs opened on GitHub, past quarter (%s)</li>".format(color,
data.kibble.prs.after.opened, ctxt);
     }
@@ -276,6 +282,8 @@ function health_tips(data) {
       } else if (pct < 0) {
         if (pct < -10) color = 'maroon';
         ctxt += ' decrease';
+      } else {
+        ctxt = 'no change';
       }
       txt += "<li style='color: %s;'>%u PRs closed on GitHub, past quarter (%s)</li>".format(color,
data.kibble.prs.after.closed, ctxt);
     }

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=1864323&r1=1864322&r2=1864323&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js Sat Aug  3 08:12:40 2019
@@ -1402,6 +1402,8 @@ function health_tips(data) {
       } else if (pct < 0) {
         if (pct < -10) color = 'maroon';
         ctxt += ' decrease';
+      } else {
+        ctxt = 'no change';
       }
       txt += "<li style='color: %s;'>%u commits in the past quarter (%s)</li>".format(color,
data.kibble.commits.after.commits, ctxt);
     }
@@ -1416,6 +1418,8 @@ function health_tips(data) {
       } else if (pct < 0) {
         if (pct < -10) color = 'maroon';
         ctxt += ' decrease';
+      } else {
+        ctxt = 'no change';
       }
       txt += "<li style='color: %s;'>%u code contributors in the past quarter (%s)</li>".format(color,
data.kibble.commits.after.authors, ctxt);
     }
@@ -1431,6 +1435,8 @@ function health_tips(data) {
       } else if (pct < 0) {
         if (pct < -10) color = 'maroon';
         ctxt += ' decrease';
+      } else {
+        ctxt = 'no change';
       }
       txt += "<li style='color: %s;'>%u PRs opened on GitHub, past quarter (%s)</li>".format(color,
data.kibble.prs.after.opened, ctxt);
     }
@@ -1445,6 +1451,8 @@ function health_tips(data) {
       } else if (pct < 0) {
         if (pct < -10) color = 'maroon';
         ctxt += ' decrease';
+      } else {
+        ctxt = 'no change';
       }
       txt += "<li style='color: %s;'>%u PRs closed on GitHub, past quarter (%s)</li>".format(color,
data.kibble.prs.after.closed, ctxt);
     }



Mime
View raw message