X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=blobdiff_plain;f=sample%2Fquerygridview.py;h=0e2fc8ea76202f1a4adb50236f3170f9f71bcb62;hp=1b2a16bb0131885035dd0082bca8ca944e4f74dc;hb=4575bfd54a282e47ca302e1348a93391a1915bc0;hpb=558ebc92df5b77d9ca546de531a36efb90ae1569 diff --git a/sample/querygridview.py b/sample/querygridview.py index 1b2a16bb..0e2fc8ea 100644 --- a/sample/querygridview.py +++ b/sample/querygridview.py @@ -7,7 +7,7 @@ from manifold.core.query import Query, AnalyzedQuery from unfold.page import Page -from ui.topmenu import topmenu_items, the_user +from ui.topmenu import topmenu_items_live, the_user from plugins.querygrid import QueryGrid @@ -69,7 +69,7 @@ class QueryGridView (TemplateView): # more general variables expected in the template template_env [ 'title' ] = 'simple %(slicename)s'%locals() # the menu items on the top - template_env [ 'topmenu_items' ] = topmenu_items('Slice', request) + template_env [ 'topmenu_items' ] = topmenu_items_live('Slice', page) # so we can sho who is logged template_env [ 'username' ] = the_user (request)