community-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1864321&view=rev
Log:
reverse

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=1864321&r1=1864320&r2=1864321&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 07:59:22
2019
@@ -299,7 +299,7 @@ function activity_tips(data) {
         }
     }
     let releases_shown = 0;
-    for (var rel in data.releases[project]) {
+    for (var rel in data.releases[project].reverse()) {
         let reldate = moment(data.releases[project][rel] * 1000.0);
         if (reldate > three_months_ago || (new_releases < 3 && releases_shown
< 3)) {
             rtxt += "<li>%s was released on %s.</li>".format(rel, reldate.format('YYYY-MM-DD'));

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=1864321&r1=1864320&r2=1864321&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 07:59:22 2019
@@ -1468,7 +1468,7 @@ function activity_tips(data) {
         }
     }
     let releases_shown = 0;
-    for (var rel in data.releases[project]) {
+    for (var rel in data.releases[project].reverse()) {
         let reldate = moment(data.releases[project][rel] * 1000.0);
         if (reldate > three_months_ago || (new_releases < 3 && releases_shown
< 3)) {
             rtxt += "<li>%s was released on %s.</li>".format(rel, reldate.format('YYYY-MM-DD'));



Mime
View raw message