mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
further deemphasize 0
This commit is contained in:
parent
c9ce7045fb
commit
e4a65ec53f
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ body { margin: 1em; -webkit-user-select: none; }
|
|||
# due counts
|
||||
def nonzeroColour(cnt, colour):
|
||||
if not cnt:
|
||||
colour = "#aaa"
|
||||
colour = "#e0e0e0"
|
||||
return "<font color='%s'>%s</font>" % (colour, cnt)
|
||||
buf += "<td align=right>%s</td><td align=right>%s</td>" % (
|
||||
nonzeroColour(due, "#007700"),
|
||||
|
|
Loading…
Reference in a new issue