X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=trash%2Fdashboard.py;h=a217ce7c466148ad681aac7b7a654178ce30b103;hb=97ec7c3d0976a4bf3425d756aa65f89071601c72;hp=246536eb4241c948b49283e47292ad7c9d4336a5;hpb=9b89a32f1ae0a1e0618a9cc11138a766a4ba870b;p=unfold.git diff --git a/trash/dashboard.py b/trash/dashboard.py index 246536eb..a217ce7c 100644 --- a/trash/dashboard.py +++ b/trash/dashboard.py @@ -29,13 +29,14 @@ def dashboard_view (request): # we don't have the user's hrn yet # in addition this currently returns all slices anyways sort='slice_hrn',) + pluginset.enqueue_query (slices_query) main_plugin = SimpleList ( # setting visible attributes first pluginset=pluginset, - title='SimpleList and dataTables', + title='Asynchroneous SimpleList', header='slices list', with_datatables=True, - toggled=False, + toggled=True, # this is required for the javascript code query=slices_query, key='slice_hrn', @@ -58,7 +59,7 @@ def dashboard_view (request): # template_env [ 'content_related' ] = related_plugin.render (request) # more general variables expected in the template - template_env [ 'title' ] = 'SimpleList Test View' + template_env [ 'title' ] = 'Test view for a full request cycle' # the menu items on the top template_env [ 'topmenu_items' ] = topmenu_items('dashboard', request) # so we can sho who is logged