mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -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):
|
def report(self):
|
||||||
c = self.card
|
c = self.card
|
||||||
fmt = anki.utils.fmtTimeSpan
|
fmt = anki.utils.fmtTimeSpan
|
||||||
self.txt = "<table width=250>"
|
self.txt = "<table>"
|
||||||
self.addLine(_("Added"), self.strTime(c.created))
|
self.addLine(_("Added"), self.strTime(c.created))
|
||||||
if c.firstAnswered:
|
if c.firstAnswered:
|
||||||
self.addLine(_("First Review"), self.strTime(c.firstAnswered))
|
self.addLine(_("First Review"), self.strTime(c.firstAnswered))
|
||||||
|
@ -287,7 +287,7 @@ class CardStats(object):
|
||||||
c.averageTime)
|
c.averageTime)
|
||||||
self.addLine(_("Total Time"), _("%0.1f seconds") %
|
self.addLine(_("Total Time"), _("%0.1f seconds") %
|
||||||
c.reviewTime)
|
c.reviewTime)
|
||||||
self.addLine(_("Inherited Tags"), canonifyTags(
|
self.addLine(_("Inherited Tags") + " "*3, canonifyTags(
|
||||||
c.fact.model.tags + "," + c.cardModel.name))
|
c.fact.model.tags + "," + c.cardModel.name))
|
||||||
self.txt += "</table>"
|
self.txt += "</table>"
|
||||||
return self.txt
|
return self.txt
|
||||||
|
|
Loading…
Reference in a new issue