[primary] restore render_entity, as it is a bit too much work to update everything accordingly
--- a/web/views/primary.py Tue Jul 21 12:39:22 2009 +0200
+++ b/web/views/primary.py Tue Jul 21 12:44:36 2009 +0200
@@ -40,6 +40,10 @@
def cell_call(self, row, col):
self.row = row
entity = self.complete_entity(row, col)
+ self.render_entity(entity)
+ self.maxrelated = self.req.property_value('navigation.related-limit')
+
+ def render_entity(self, entity):
self.render_entity_title(entity)
self.render_entity_metadata(entity)
# entity's attributes and relations, excluding meta data
@@ -64,7 +68,6 @@
self.w(u'</div>')
self.w(u'</td></tr></table>')
self.content_navigation_components('navcontentbottom')
- self.maxrelated = self.req.property_value('navigation.related-limit')
def content_navigation_components(self, context):
self.w(u'<div class="%s">' % context)