move navcontenttop on the top stable
authorKatia Saurfelt <katia.saurfelt@logilab.fr>
Mon, 22 Jun 2009 11:12:16 +0200
branchstable
changeset 2132 d7ae060cd746
parent 2113 58489d113215
child 2133 c3beb65d884d
move navcontenttop on the top
web/views/primary.py
--- a/web/views/primary.py	Tue Jun 16 14:15:18 2009 +0200
+++ b/web/views/primary.py	Mon Jun 22 11:12:16 2009 +0200
@@ -54,6 +54,7 @@
             self.w(u'<table width="100%"><tr><td style="width: 75%">')
         self.w(u'<div>')
         self.w(u'<div class="mainInfo">')
+        self.content_navigation_components('navcontenttop')
         try:
             self.render_entity_attributes(entity)
         except TypeError: # XXX bw compat
@@ -61,7 +62,6 @@
                  'deprecated (%s)' % self.__class__)
             self.render_entity_attributes(entity, [])
         self.w(u'</div>')
-        self.content_navigation_components('navcontenttop')
         if self.main_related_section:
             try:
                 self.render_entity_relations(entity)