Load manifold api metedata...
[unfold.git] / trash / dashboard.py
index e7ea899..35eeb33 100644 (file)
@@ -19,7 +19,7 @@ from myslice.viewutils import topmenu_items, the_user
 @login_required
 def dashboard_view (request):
     
-    pluginset = PluginSet()
+    pluginset = PluginSet(request)
 
     slices_query = ManifoldQuery (action='get',
                                   method='slice',
@@ -33,10 +33,10 @@ def dashboard_view (request):
 
     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',
@@ -59,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