mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
wip: statistics extension layout
Temp: set default graphs to display see #333
This commit is contained in:
@@ -71,6 +71,9 @@ def graphs(request):
|
||||
tplvars["period_name"] = period_name
|
||||
tplvars["start"] = start
|
||||
tplvars["end"] = end
|
||||
else:
|
||||
# FIXME
|
||||
tplvars['graphs'] = ['traffic', 'badtraffic', 'size']
|
||||
|
||||
return ajax_simple_response(dict(
|
||||
status="ok", content=_render_to_string(request, "stats/graphs.html", tplvars)
|
||||
|
||||
Reference in New Issue
Block a user