Author: humbedooh
Date: Sat Apr 17 09:50:54 2021
New Revision: 1888849

URL: http://svn.apache.org/viewvc?rev=1888849&view=rev
Log:
tweak wording for stats, as per COMDEV-415

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=1888849&r1=1888848&r2=1888849&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 
Sat Apr 17 09:50:54 2021
@@ -337,7 +337,7 @@ function statistics_health(data) {
             ctxt += ' increase';
         } else if (pct < 0) {
             if (pct < -10) color = 'maroon';
-            ctxt += ' decrease';
+            ctxt += ' change';
         } else {
             ctxt = 'no change';
         }
@@ -355,7 +355,7 @@ function statistics_health(data) {
             ctxt += ' increase';
         } else if (pct < 0) {
             if (pct < -10) color = 'maroon';
-            ctxt += ' decrease';
+            ctxt += ' change';
         } else {
             ctxt = 'no change';
         }
@@ -473,7 +473,7 @@ function statistics_health(data) {
             ctxt += ' increase';
         } else if (pct < 0) {
             if (pct < -10) color = 'maroon';
-            ctxt += ' decrease';
+            ctxt += ' change';
         } else {
             ctxt = 'no change';
         }
@@ -572,7 +572,7 @@ function statistics_health(data) {
             ctxt += ' increase';
         } else if (pct < 0) {
             if (pct < -10) color = 'maroon';
-            ctxt += ' decrease';
+            ctxt += ' change';
         } else {
             ctxt = 'no change';
         }
@@ -590,7 +590,7 @@ function statistics_health(data) {
             ctxt += ' increase';
         } else if (pct < 0) {
             if (pct < -10) color = 'maroon';
-            ctxt += ' decrease';
+            ctxt += ' change';
         } else {
             ctxt = 'no change';
         }
@@ -700,7 +700,7 @@ function statistics_health(data) {
             ctxt += ' increase';
         } else if (pct < 0) {
             if (pct < -10) color = 'maroon';
-            ctxt += ' decrease';
+            ctxt += ' change';
         } else {
             ctxt = 'no change';
         }
@@ -718,7 +718,7 @@ function statistics_health(data) {
             ctxt += ' increase';
         } else if (pct < 0) {
             if (pct < -10) color = 'maroon';
-            ctxt += ' decrease';
+            ctxt += ' change';
         } else {
             ctxt = 'no change';
         }

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=1888849&r1=1888848&r2=1888849&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js Sat Apr 17 
09:50:54 2021
@@ -2539,7 +2539,7 @@ function statistics_health(data) {
             ctxt += ' increase';
         } else if (pct < 0) {
             if (pct < -10) color = 'maroon';
-            ctxt += ' decrease';
+            ctxt += ' change';
         } else {
             ctxt = 'no change';
         }
@@ -2557,7 +2557,7 @@ function statistics_health(data) {
             ctxt += ' increase';
         } else if (pct < 0) {
             if (pct < -10) color = 'maroon';
-            ctxt += ' decrease';
+            ctxt += ' change';
         } else {
             ctxt = 'no change';
         }
@@ -2675,7 +2675,7 @@ function statistics_health(data) {
             ctxt += ' increase';
         } else if (pct < 0) {
             if (pct < -10) color = 'maroon';
-            ctxt += ' decrease';
+            ctxt += ' change';
         } else {
             ctxt = 'no change';
         }
@@ -2774,7 +2774,7 @@ function statistics_health(data) {
             ctxt += ' increase';
         } else if (pct < 0) {
             if (pct < -10) color = 'maroon';
-            ctxt += ' decrease';
+            ctxt += ' change';
         } else {
             ctxt = 'no change';
         }
@@ -2792,7 +2792,7 @@ function statistics_health(data) {
             ctxt += ' increase';
         } else if (pct < 0) {
             if (pct < -10) color = 'maroon';
-            ctxt += ' decrease';
+            ctxt += ' change';
         } else {
             ctxt = 'no change';
         }
@@ -2902,7 +2902,7 @@ function statistics_health(data) {
             ctxt += ' increase';
         } else if (pct < 0) {
             if (pct < -10) color = 'maroon';
-            ctxt += ' decrease';
+            ctxt += ' change';
         } else {
             ctxt = 'no change';
         }
@@ -2920,7 +2920,7 @@ function statistics_health(data) {
             ctxt += ' increase';
         } else if (pct < 0) {
             if (pct < -10) color = 'maroon';
-            ctxt += ' decrease';
+            ctxt += ' change';
         } else {
             ctxt = 'no change';
         }


Reply via email to