web/views/primary.py
branchstable
changeset 3064 3fbcdf220ce9
parent 2655 48cd71bdb5cd
child 3071 6ad4e6d4df86
--- a/web/views/primary.py	Mon Aug 31 16:49:00 2009 +0200
+++ b/web/views/primary.py	Mon Aug 31 17:38:38 2009 +0200
@@ -51,6 +51,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)
@@ -90,6 +91,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)