don't hide extra stats for buried/suspended

This commit is contained in:
Damien Elmes 2012-05-26 16:46:34 +09:00
parent d7d0fd5ca9
commit 312786c9eb

View file

@ -30,15 +30,16 @@ class CardStats(object):
if first:
self.addLine(_("First Review"), self.date(first/1000))
self.addLine(_("Latest Review"), self.date(last/1000))
if c.queue in (1,2):
if c.queue == 2:
if c.type in (1,2):
if c.odid or c.queue < 0:
next = None
else:
if c.queue in (2,3):
next = time.time()+((c.due - self.col.sched.today)*86400)
else:
next = c.due
if c.odid:
next = _("(cram)")
else:
next = self.date(next)
if next:
self.addLine(_("Due"), next)
if c.queue == 2:
self.addLine(_("Interval"), fmt(c.ivl * 86400))