Commit 724784ae authored by Vincent Pelletier's avatar Vincent Pelletier

Use <th> for status codes.

parent 598cea75
...@@ -191,7 +191,7 @@ class GenericSiteStats(object): ...@@ -191,7 +191,7 @@ class GenericSiteStats(object):
return '<td class="%s">%s</td>' % (getClassForStatusHit(hit, status), hit) return '<td class="%s">%s</td>' % (getClassForStatusHit(hit, status), hit)
for status, data_dict in sorted(filtered_status.iteritems(), for status, data_dict in sorted(filtered_status.iteritems(),
key=ITEMGETTER0): key=ITEMGETTER0):
append('<tr><td>%s</td>' % status) append('<tr><th>%s</th>' % status)
append(hitTd(sum(data_dict.itervalues()), status)) append(hitTd(sum(data_dict.itervalues()), status))
for date in column_list: for date in column_list:
append(hitTd(data_dict[date], status)) append(hitTd(data_dict[date], status))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment