Merge one hit only parsers in feeds parsers detection
This commit is contained in:
@@ -67,7 +67,7 @@ class IWLADisplayFeeds(IPlugin):
|
||||
|
||||
# All in a page
|
||||
if self.create_all_feeds_page:
|
||||
title = createCurTitle(self.iwla, u'All Feeds parsers')
|
||||
title = createCurTitle(self.iwla, self.iwla._(u'All Feeds parsers'))
|
||||
filename = 'all_feeds.html'
|
||||
path = self.iwla.getCurDisplayPath(filename)
|
||||
display_visitor_ip = self.iwla.getConfValue('display_visitor_ip', False)
|
||||
@@ -81,7 +81,10 @@ class IWLADisplayFeeds(IPlugin):
|
||||
if display_visitor_ip and\
|
||||
super_hit.get('dns_name_replaced', False):
|
||||
address = '%s [%s]' % (address, super_hit['remote_ip'])
|
||||
table.appendRow([address, super_hit['viewed_pages'], super_hit['viewed_hits']])
|
||||
if super_hit['robot']:
|
||||
table.appendRow([address, super_hit['not_viewed_pages'], super_hit['not_viewed_hits']])
|
||||
else:
|
||||
table.appendRow([address, super_hit['viewed_pages'], super_hit['viewed_hits']])
|
||||
page.appendBlock(table)
|
||||
|
||||
display.addPage(page)
|
||||
|
Reference in New Issue
Block a user