add young/mature counts to labels

This commit is contained in:
Damien Elmes 2012-08-25 21:30:16 +09:00
parent 8aaff17ccf
commit 7e0e54d7fd

View file

@ -573,7 +573,7 @@ group by hour having count() > 30 order by hour""" % lim,
(_("Young+Learn"), colYoung), (_("Young+Learn"), colYoung),
(_("Unseen"), colUnseen), (_("Unseen"), colUnseen),
(_("Suspended"), colSusp))): (_("Suspended"), colSusp))):
d.append(dict(data=div[c], label=t, color=col)) d.append(dict(data=div[c], label="%s: %s" % (t, div[c]), color=col))
# text data # text data
i = [] i = []
(c, f) = self.col.db.first(""" (c, f) = self.col.db.first("""