X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sample%2Fquerytableview.py;fp=sample%2Fquerytableview.py;h=25cb6a0504c897569fce652227726f9e83ce5445;hb=4575bfd54a282e47ca302e1348a93391a1915bc0;hp=4b667aac7300f8f21819475dbaf8ac9f200e7056;hpb=558ebc92df5b77d9ca546de531a36efb90ae1569;p=myslice.git diff --git a/sample/querytableview.py b/sample/querytableview.py index 4b667aac..25cb6a05 100644 --- a/sample/querytableview.py +++ b/sample/querytableview.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.querytable import QueryTable @@ -68,7 +68,7 @@ class QueryTableView (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)