mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
hack to make more compact table
This commit is contained in:
parent
8c9f883e68
commit
3dcc9c75f2
1 changed files with 2 additions and 2 deletions
|
@ -260,7 +260,7 @@ class CardStats(object):
|
|||
def report(self):
|
||||
c = self.card
|
||||
fmt = anki.utils.fmtTimeSpan
|
||||
self.txt = "<table width=250>"
|
||||
self.txt = "<table>"
|
||||
self.addLine(_("Added"), self.strTime(c.created))
|
||||
if c.firstAnswered:
|
||||
self.addLine(_("First Review"), self.strTime(c.firstAnswered))
|
||||
|
@ -287,7 +287,7 @@ class CardStats(object):
|
|||
c.averageTime)
|
||||
self.addLine(_("Total Time"), _("%0.1f seconds") %
|
||||
c.reviewTime)
|
||||
self.addLine(_("Inherited Tags"), canonifyTags(
|
||||
self.addLine(_("Inherited Tags") + " "*3, canonifyTags(
|
||||
c.fact.model.tags + "," + c.cardModel.name))
|
||||
self.txt += "</table>"
|
||||
return self.txt
|
||||
|
|
Loading…
Reference in a new issue