web/views/primary.py
branch3.5
changeset 3071 6ad4e6d4df86
parent 2920 64322aa83a1d
parent 3064 3fbcdf220ce9
child 3072 6fb42c53f6df
child 3681 cdbe4aac1198
--- a/web/views/primary.py	Fri Aug 28 16:28:26 2009 +0200
+++ b/web/views/primary.py	Mon Aug 31 18:59:10 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)