community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1871654 - in /comdev/reporter.apache.org/trunk/site/wizard/js: source/reportdate.js wizard.js
Date Mon, 16 Dec 2019 11:21:06 GMT
Author: humbedooh
Date: Mon Dec 16 11:21:06 2019
New Revision: 1871654

URL: http://svn.apache.org/viewvc?rev=1871654&view=rev
Log:
note if report was already filed this quarter

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

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/reportdate.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/reportdate.js?rev=1871654&r1=1871653&r2=1871654&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/reportdate.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/reportdate.js Mon Dec 16 11:21:06
2019
@@ -97,6 +97,7 @@ function getReportDate(json, pmc, dateOn
 			nextdate.setDate(nextdate.getDate() - 7); // Due one week prior to meeting.
 			let rightnow = new Date();
 			if (nextdate < rightnow) {
+				if (pdata && pdata.filed[pmc] == true) return new HTML('span', {style: { color:
'#396'}}, nextdate.toDateString() + " (Report filed)");
 				return new HTML('span', {style: { color: '#711'}}, nextdate.toDateString() + " (Report
is due)");
 			}
 			return nextdate ? (nextdate.toDateString() + " ("  + moment(nextdate).fromNow() + ")"):
"Unknown(?)";

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=1871654&r1=1871653&r2=1871654&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js Mon Dec 16 11:21:06 2019
@@ -1996,6 +1996,7 @@ function getReportDate(json, pmc, dateOn
 			nextdate.setDate(nextdate.getDate() - 7); // Due one week prior to meeting.
 			let rightnow = new Date();
 			if (nextdate < rightnow) {
+				if (pdata && pdata.filed[pmc] == true) return new HTML('span', {style: { color:
'#396'}}, nextdate.toDateString() + " (Report filed)");
 				return new HTML('span', {style: { color: '#711'}}, nextdate.toDateString() + " (Report
is due)");
 			}
 			return nextdate ? (nextdate.toDateString() + " ("  + moment(nextdate).fromNow() + ")"):
"Unknown(?)";



Mime
View raw message