[views] toolbox must be rendered before the title to appear at top right stable
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Fri, 12 Feb 2010 23:34:19 +0100
branchstable
changeset 4566 c49dba55c0a6
parent 4565 9f991ee66e19
child 4568 ed35dbe408ae
[views] toolbox must be rendered before the title to appear at top right
web/views/primary.py
--- a/web/views/primary.py	Fri Feb 12 22:40:44 2010 +0100
+++ b/web/views/primary.py	Fri Feb 12 23:34:19 2010 +0100
@@ -46,8 +46,8 @@
         self.render_entity(entity)
 
     def render_entity(self, entity):
+        self.render_entity_toolbox(entity)
         self.render_entity_title(entity)
-        self.render_entity_toolbox(entity)
         # entity's attributes and relations, excluding meta data
         # if the entity isn't meta itself
         if self.is_primary():