X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=trash%2Fdashboard.py;h=0991ea5f045eed87bdcd6332709a4e417e5592f4;hb=00e925de365deefe83fd1bf17726dce43947dfbd;hp=246536eb4241c948b49283e47292ad7c9d4336a5;hpb=9b89a32f1ae0a1e0618a9cc11138a766a4ba870b;p=unfold.git diff --git a/trash/dashboard.py b/trash/dashboard.py index 246536eb..0991ea5f 100644 --- a/trash/dashboard.py +++ b/trash/dashboard.py @@ -29,10 +29,11 @@ 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, @@ -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