web/views/baseviews.py
changeset 1589 496fdc081e25
parent 1194 e224f064a268
child 1590 7f523ae475d2
equal deleted inserted replaced
1588:79755c89b4f3 1589:496fdc081e25
   144 
   144 
   145         by default primary views are indexed
   145         by default primary views are indexed
   146         """
   146         """
   147         return []
   147         return []
   148     
   148     
   149     def cell_call(self, row, col):        
   149     def cell_call(self, row, col):
   150         self.row = row
   150         self.row = row
   151         # XXX move render_entity implementation here
   151         # XXX move render_entity implementation here
   152         self.render_entity(self.complete_entity(row, col))
   152         self.render_entity(self.complete_entity(row, col))
   153     
   153     
   154     def render_entity(self, entity):
   154     def render_entity(self, entity):
   168         self.w(u'</div>')
   168         self.w(u'</div>')
   169         # side boxes
   169         # side boxes
   170         self.w(u'<div class="primaryRight">')
   170         self.w(u'<div class="primaryRight">')
   171         self.render_side_related(entity, siderelations)
   171         self.render_side_related(entity, siderelations)
   172         self.w(u'</div>')
   172         self.w(u'</div>')
   173         self.w(u'<div class="clear"></div>')          
   173         self.w(u'<div class="clear"></div>')
   174         self.content_navigation_components('navcontentbottom')
   174         self.content_navigation_components('navcontentbottom')
   175 
   175 
   176     def content_navigation_components(self, context):
   176     def content_navigation_components(self, context):
   177         self.w(u'<div class="%s">' % context)
   177         self.w(u'<div class="%s">' % context)
   178         for comp in self.vreg.possible_vobjects('contentnavigation',
   178         for comp in self.vreg.possible_vobjects('contentnavigation',