Commit a96559a8 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Add the controller plugin_event/lists2.

parent e32e1b87
......@@ -99,6 +99,13 @@ def grid():
return dict(cfg_store=store, grid=grid, title=title)
def lists2():
"""New approach to generate lists.
"""
print "lists2 -- hello"
def userModelConsistency():
""" A user data block is associated to each event.
It is configurable by the user and defined in the events table.
......
......@@ -267,7 +267,7 @@ class ViewportUi(object):
for row in db(db.lists2.id > 0).select(orderby=db.lists.name):
panel = selector_panel
panel.baseUrl = URL("plugin_event", "grid")
panel.baseUrl = URL("plugin_event", "lists2")
panel.baseParams = {"id_lists": row.id}
add_child(row.name, panel)
......
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