# HG changeset patch # User Aurelien Campeas # Date 1246526288 -7200 # Node ID 7e546c3d6ea5ef919d7f72307ff16171915e217e # Parent bf3603caaf0d71f4aea05c901cc47864de280cdf [primary] fix #344249 diff -r bf3603caaf0d -r 7e546c3d6ea5 web/component.py --- a/web/component.py Thu Jul 02 10:30:44 2009 +0200 +++ b/web/component.py Thu Jul 02 11:18:08 2009 +0200 @@ -37,7 +37,7 @@ property_defs = { _('visible'): dict(type='Boolean', default=True, - help=_('display the box or not')), + help=_('display the component or not')), _('order'): dict(type='Int', default=99, help=_('display order of the component')), _('context'): dict(type='String', default='header', diff -r bf3603caaf0d -r 7e546c3d6ea5 web/views/primary.py --- a/web/views/primary.py Thu Jul 02 10:30:44 2009 +0200 +++ b/web/views/primary.py Thu Jul 02 11:18:08 2009 +0200 @@ -52,7 +52,6 @@ boxes = self._prepare_side_boxes(entity) if boxes or hasattr(self, 'render_side_related'): self.w(u'
') - self.w(u'
') self.w(u'
') self.content_navigation_components('navcontenttop') try: @@ -63,7 +62,6 @@ warn('siderelations argument of render_entity_attributes is ' 'deprecated (%s)' % self.__class__) self.render_entity_attributes(entity, []) - self.w(u'
') if self.main_related_section: try: self.render_entity_relations(entity) @@ -74,9 +72,9 @@ 'deprecated') self.render_entity_relations(entity, []) self.w(u'
') + # side boxes if boxes or hasattr(self, 'render_side_related'): self.w(u'
') - # side boxes self.w(u'
') if hasattr(self, 'render_side_related'): warn('render_side_related is deprecated')