Add a star for merged feeds parsers
This commit is contained in:
@@ -21,8 +21,7 @@
|
||||
from iwla import IWLA
|
||||
from iplugin import IPlugin
|
||||
from display import *
|
||||
|
||||
import awstats_data
|
||||
from plugins.post_analysis.feeds import IWLAPostAnalysisFeeds
|
||||
|
||||
"""
|
||||
Display hook
|
||||
@@ -81,12 +80,15 @@ class IWLADisplayFeeds(IPlugin):
|
||||
if display_visitor_ip and\
|
||||
super_hit.get('dns_name_replaced', False):
|
||||
address = '%s [%s]' % (address, super_hit['remote_ip'])
|
||||
if super_hit['feed_parser'] == IWLAPostAnalysisFeeds.MERGED_FEED_PARSER:
|
||||
address += '*'
|
||||
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)
|
||||
|
||||
note = DisplayHTMLRaw(self.iwla, ('<small>*%s</small>' % (self.iwla._('Merged feeds parsers'))))
|
||||
page.appendBlock(note)
|
||||
display.addPage(page)
|
||||
|
||||
# Found in index
|
||||
|
||||
Reference in New Issue
Block a user