messages go last
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 31 May 2013 12:00:12 +0000 (14:00 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 31 May 2013 12:00:12 +0000 (14:00 +0200)
trash/sliceview.py

index 9865f77..edf871c 100644 (file)
@@ -86,19 +86,15 @@ def _slice_view (request, slicename):
         title="Slice view for %s"%slicename,
         domid='thestack',
         togglable=False,
-        sons=[
-            Messages (
-                page=page,
-                title="Runtime messages for slice %s"%slicename,
-                domid="msgs-pre",
-                levels="ALL",
-                ),
-            Raw (page=page,togglable=False, toggled=True,html="<h2> Slice page for %s</h2>"%slicename),
-        ]
+        sons=[],
     )
 
     # ... responsible for the slice properties...
 
+
+    main_plugin.insert (
+        Raw (page=page,togglable=False, toggled=True,html="<h2> Slice page for %s</h2>"%slicename))
+
     main_plugin.insert(
         Raw (page=page,togglable=False, toggled=True,html='<b>Description:</b> TODO')
     )
@@ -215,6 +211,15 @@ def _slice_view (request, slicename):
         )
     )
 
+    main_plugin.insert (
+        Messages (
+            page=page,
+            title="Runtime messages for slice %s"%slicename,
+            domid="msgs-pre",
+            levels="ALL",
+            ))
+    
+
     # END OF JORDAN's CODE
 
 #old#    main_plugin = Stack (