diff --git a/extensions/stats/main.py b/extensions/stats/main.py index d3404dbff..74d985a34 100644 --- a/extensions/stats/main.py +++ b/extensions/stats/main.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- """ -graph plugin do display rrd stats +Graphical statistics about emails traffic using RRDtool -This module provides rrdtool support to retreive statistics -from postfix log : sent, received, bounced, rejected +This module provides support to retrieve statistics from postfix log : +sent, received, bounced, rejected """ import calendar @@ -67,7 +67,7 @@ def menu(**kwargs): return [] @login_required -def domain(request,dom_id): +def domain(request, dom_id): domains = [] errors = [] return graph_display(request,dom_id,graph_types) diff --git a/extensions/stats/templates/adminindex.html b/extensions/stats/templates/adminindex.html index 2e7a6f1ce..a01b6f8d7 100644 --- a/extensions/stats/templates/adminindex.html +++ b/extensions/stats/templates/adminindex.html @@ -1,9 +1,8 @@ {% extends "nlayout.html" %} {% load i18n %} {% load stats_extra %} +{% load admin_extras %} {% block html_head %} - -