web/views/primary.py
changeset 3072 6fb42c53f6df
parent 2968 0e3460341023
parent 3071 6ad4e6d4df86
child 3377 dd9d292b6a6d
--- a/web/views/primary.py	Thu Aug 27 13:02:45 2009 +0200
+++ b/web/views/primary.py	Mon Aug 31 19:09:54 2009 +0200
@@ -52,6 +52,7 @@
         boxes = self._prepare_side_boxes(entity)
         if boxes or hasattr(self, 'render_side_related'):
             self.w(u'<table width="100%"><tr><td style="width: 75%">')
+        self.render_entity_summary(entity)
         self.w(u'<div class="mainInfo">')
         self.content_navigation_components('navcontenttop')
         self.render_entity_attributes(entity)
@@ -91,6 +92,8 @@
 
     def render_entity_metadata(self, entity):
         entity.view('metadata', w=self.w)
+
+    def render_entity_summary(self, entity):
         summary = self.summary(entity) # deprecate summary?
         if summary:
             self.w(u'<div class="summary">%s</div>' % summary)