From 0dd2e460f30d81d0d4127cab56df0152137cac1f Mon Sep 17 00:00:00 2001 From: Robert Sparks Date: Tue, 17 Jan 2017 21:04:42 +0000 Subject: [PATCH] Make it easier to see what reviews need to be closed as "No Response". Fixes #2128. Commit ready for merge. - Legacy-Id: 12664 --- ietf/doc/models.py | 4 ++++ ietf/templates/group/manage_review_requests.html | 1 + 2 files changed, 5 insertions(+) diff --git a/ietf/doc/models.py b/ietf/doc/models.py index 6b850e98a..5e199c695 100644 --- a/ietf/doc/models.py +++ b/ietf/doc/models.py @@ -509,6 +509,10 @@ class Document(DocumentInfo): e = self.latest_event(TelechatDocEvent, type="scheduled_for_telechat") return e.telechat_date if e and e.telechat_date and e.telechat_date >= datetime.date.today() else None + def past_telechat_date(self): + e = self.latest_event(TelechatDocEvent, type="scheduled_for_telechat") + return e.telechat_date if e and e.telechat_date and e.telechat_date < datetime.date.today() else None + def area_acronym(self): g = self.group if g: diff --git a/ietf/templates/group/manage_review_requests.html b/ietf/templates/group/manage_review_requests.html index 3ff06116e..d52c0f6cf 100644 --- a/ietf/templates/group/manage_review_requests.html +++ b/ietf/templates/group/manage_review_requests.html @@ -148,6 +148,7 @@ + {% if r.doc.past_telechat_date %} (was on {{r.doc.past_telechat_date}} telechat) {% endif %}