Commit 80bb3a05 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Rename the controller new_report as plugin_event.

parent 128c9b46
......@@ -238,7 +238,7 @@ class ViewportUi(object):
for row in db(db.lists2.id > 0).select(orderby=db.lists2.name):
panel = selector_panel
panel.baseUrl = URL("new_report", "grid")
panel.baseUrl = URL("plugin_event", "grid")
panel.baseParams = {"id_list": row.id}
add_child(row.name, panel)
......@@ -266,7 +266,7 @@ class ViewportUi(object):
for row in db(db.metrics2d2.id > 0).select(orderby=db.metrics2d2.name):
panel = selector_panel
panel.baseUrl = URL("new_report", "metric2d")
panel.baseUrl = URL("plugin_event", "metric2d")
panel.baseParams = {"id_metric2d": row.id}
add_child(row.name, panel)
......
......@@ -36,8 +36,8 @@
myapp = request.application
myvars = urllib.urlencode(request.vars)
url_pdf = "/%s/new_report/metric2d.pdf?%s" % (myapp, myvars)
url_png = "/%s/new_report/metric2d.png?%s" % (myapp, myvars)
url_pdf = "/%s/plugin_event/metric2d.pdf?%s" % (myapp, myvars)
url_png = "/%s/plugin_event/metric2d.png?%s" % (myapp, myvars)
#
# translate
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment