wip: statistics extension layout

Temp: set default graphs to display

see #333
This commit is contained in:
Antoine Nguyen
2012-10-28 18:38:30 +01:00
parent b969575bdf
commit c67bd1def2
+3
View File
@@ -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)