diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index e21e0f934..40d3cfe0a 100644 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -1049,9 +1049,9 @@ day = :d""", d=yesterday) """ % h stats2 = """\ - - - + + +
Reviews today:%(ret)s
New today:%(new)s
New total:%(newof)s
Reviews due today:%(ret)s
New due today:%(new)s
New due total:%(newof)s
""" % h if (not dyest and not dtoday) or not self.config['showStudyStats']: stats1 = "" diff --git a/ankiqt/ui/view.py b/ankiqt/ui/view.py index 27f003db7..84e1ffd90 100644 --- a/ankiqt/ui/view.py +++ b/ankiqt/ui/view.py @@ -190,6 +190,8 @@ class View(object): return if self.main.currentCard.due <= time.time(): return + if self.main.currentCard.due - time.time() <= self.main.deck.delay0: + return self.write("" % futureWarningColour + _("This card was due in %s.") % fmtTimeSpan( self.main.currentCard.due - time.time()) +