You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hu...@apache.org on 2019/12/16 11:21:06 UTC

svn commit: r1871654 - in /comdev/reporter.apache.org/trunk/site/wizard/js: source/reportdate.js wizard.js

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(?)";