simplify interval display in review log
This commit is contained in:
parent
3264f63535
commit
f4330cd213
@ -1480,11 +1480,9 @@ border: 1px solid #000; padding: 3px; '>%s</div>"""
|
|||||||
if ease == 1:
|
if ease == 1:
|
||||||
ease = fmt % (st.colRelearn, ease)
|
ease = fmt % (st.colRelearn, ease)
|
||||||
if ivl == 0:
|
if ivl == 0:
|
||||||
ivl = _("0d")
|
ivl = ""
|
||||||
elif ivl > 0:
|
|
||||||
ivl = fmtTimeSpan(ivl * 86400)
|
|
||||||
else:
|
else:
|
||||||
ivl = cs.time(-ivl)
|
ivl = cs.time(abs(ivl))
|
||||||
s += "<td align=right>%s</td>" % tstr
|
s += "<td align=right>%s</td>" % tstr
|
||||||
s += "<td align=center>%s</td>" % ease
|
s += "<td align=center>%s</td>" % ease
|
||||||
s += "<td align=left>%s</td>" % ivl
|
s += "<td align=left>%s</td>" % ivl
|
||||||
|
Loading…
Reference in New Issue
Block a user