Right-justify numbers on /activity.

(imported from commit 11f167626fc3f1338143fc1cf68a1bb1663a93b9)
This commit is contained in:
Steve Howell
2013-12-18 16:38:50 -05:00
parent 5d85bfbf6b
commit ef089692ed

View File

@@ -75,7 +75,7 @@ def get_realm_day_counts():
result = {}
for domain in counts:
cnts = [counts[domain].get(age, 0) for age in reversed(range(8))]
cnts = ''.join('<td>%s</td>' % (cnt,) for cnt in cnts)
cnts = ''.join('<td class="number">%s</td>' % (cnt,) for cnt in cnts)
result[domain] = dict(cnts=cnts)
return result