Add hit_to_page_conf in addition to page_to_hit_conf
This commit is contained in:
@@ -29,7 +29,7 @@ class IWLADisplayTopDownloads(IPlugin):
|
||||
path = '%d/%s' % (cur_time.tm_year, filename)
|
||||
|
||||
page = DisplayHTMLPage(title, path)
|
||||
table = DisplayHTMLBlockTable('Top Downloads', ['URI', 'Hit'])
|
||||
table = DisplayHTMLBlockTable('All Downloads', ['URI', 'Hit'])
|
||||
for (uri, entrance) in top_downloads:
|
||||
table.appendRow([uri, entrance])
|
||||
page.appendBlock(table)
|
||||
|
||||
Reference in New Issue
Block a user