mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
don't hide extra stats for buried/suspended
This commit is contained in:
parent
d7d0fd5ca9
commit
312786c9eb
1 changed files with 9 additions and 8 deletions
|
@ -30,16 +30,17 @@ 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:
|
||||
next = time.time()+((c.due - self.col.sched.today)*86400)
|
||||
else:
|
||||
next = c.due
|
||||
if c.odid:
|
||||
next = _("(cram)")
|
||||
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
|
||||
next = self.date(next)
|
||||
self.addLine(_("Due"), next)
|
||||
if next:
|
||||
self.addLine(_("Due"), next)
|
||||
if c.queue == 2:
|
||||
self.addLine(_("Interval"), fmt(c.ivl * 86400))
|
||||
self.addLine(_("Ease"), "%d%%" % (c.factor/10.0))
|
||||
|
|
Loading…
Reference in a new issue