do_query_users commented
authorCiro Scognamiglio <ciro.scognamiglio@cslash.net>
Fri, 25 Oct 2013 17:24:54 +0000 (19:24 +0200)
committerCiro Scognamiglio <ciro.scognamiglio@cslash.net>
Fri, 25 Oct 2013 17:24:54 +0000 (19:24 +0200)
portal/sliceview.py

index 44effc9..7d8aaf9 100644 (file)
@@ -235,65 +235,34 @@ class SliceView (LoginRequiredAutoLogoutView):
         # --------------------------------------------------------------------------
         # USERS
     
-<<<<<<< HEAD
-        if do_query_users:
-            tab_users = Tabs(
-                page                = page,
-                domid               = 'users',
-                outline_complete    = True,
-                togglable           = True,
-                title               = 'Users',
-                active_domid        = 'users-list',
-                )
-            main_stack.insert(tab_users)
-    
-            tab_users.insert(Hazelnut( 
-                page        = page,
-                title       = 'Users List',
-                domid       = 'users-list',
-                # tab's sons preferably turn this off
-                togglable   = False,
-                # this is the query at the core of the slice list
-                query       = sq_user,
-                query_all  = query_user_all,
-                checkboxes  = True,
-                datatables_options = { 
-                    'iDisplayLength' : 25,
-                    'bLengthChange'  : True,
-                    'bAutoWidth'     : True,
-                },
-            ))
-            
-        
-=======
-        if do_query_users:
-            tab_users = Tabs(
-                page                = page,
-                domid               = 'users',
-                outline_complete    = True,
-                togglable           = True,
-                title               = 'Users',
-                active_domid        = 'users-list',
-                )
-            main_stack.insert(tab_users)
-    
-            tab_users.insert(Hazelnut( 
-                page        = page,
-                title       = 'Users List',
-                domid       = 'users-list',
-                # tab's sons preferably turn this off
-                togglable   = False,
-                # this is the query at the core of the slice list
-                query       = sq_user,
-                query_all  = query_user_all,
-                checkboxes  = True,
-                datatables_options = { 
-                    'iDisplayLength' : 25,
-                    'bLengthChange'  : True,
-                    'bAutoWidth'     : True,
-                },
-            ))
->>>>>>> 0c8a634162f3271018102e75a3934c5db5e48f59
+#         if do_query_users:
+#             tab_users = Tabs(
+#                 page                = page,
+#                 domid               = 'users',
+#                 outline_complete    = True,
+#                 togglable           = True,
+#                 title               = 'Users',
+#                 active_domid        = 'users-list',
+#                 )
+#             main_stack.insert(tab_users)
+#     
+#             tab_users.insert(Hazelnut( 
+#                 page        = page,
+#                 title       = 'Users List',
+#                 domid       = 'users-list',
+#                 # tab's sons preferably turn this off
+#                 togglable   = False,
+#                 # this is the query at the core of the slice list
+#                 query       = sq_user,
+#                 query_all  = query_user_all,
+#                 checkboxes  = True,
+#                 datatables_options = { 
+#                     'iDisplayLength' : 25,
+#                     'bLengthChange'  : True,
+#                     'bAutoWidth'     : True,
+#                 },
+#             ))
+
 # DEMO    
         # --------------------------------------------------------------------------
         # MEASUREMENTS