X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sample%2Fpluginview.py;h=144115e97345b2adba3cb81b57b6ca582de8fe71;hb=350a118a4f8e3329f39fe7f245cb27388a3756f0;hp=85441bfb4c3fae26b76d771b432266fd4395b12c;hpb=558ebc92df5b77d9ca546de531a36efb90ae1569;p=myslice.git diff --git a/sample/pluginview.py b/sample/pluginview.py index 85441bfb..144115e9 100644 --- a/sample/pluginview.py +++ b/sample/pluginview.py @@ -19,7 +19,7 @@ from plugins.raw import Raw from plugins.messages import Messages from plugins.querytable import QueryTable -from ui.topmenu import topmenu_items, the_user +from ui.topmenu import topmenu_items_live, the_user from trash.trashutils import hard_wired_slice_names, hard_wired_list, lorem_p, lorem, quickfilter_criterias #might be useful or not depending on the context @@ -89,7 +89,7 @@ $(function(){$("#bouton").click(issue_debug);}); # more general variables expected in the template template_env [ 'title' ] = 'Single Plugin View' - template_env [ 'topmenu_items' ] = topmenu_items('plugin', request) + template_env [ 'topmenu_items' ] = topmenu_items_live('plugin', page) template_env [ 'username' ] = the_user (request) # the prelude object in page contains a summary of the requirements() for all plugins