web/views/baseviews.py
changeset 956 ae7044a06efb
parent 953 ded89d49c0b4
child 958 6053622aae81
--- a/web/views/baseviews.py	Wed Feb 25 15:54:44 2009 +0100
+++ b/web/views/baseviews.py	Wed Feb 25 15:54:55 2009 +0100
@@ -1003,7 +1003,8 @@
         else:
             role = 'object'
         rset = self.rset.get_entity(row, col).related(self.rtype, role)
-        self.w(u'<h1>%s</h1>' % self.req._(self.title).capitalize())
+        if self.title:
+            self.w(u'<h1>%s</h1>' % self.req._(self.title).capitalize())
         self.w(u'<div class="mainInfo">')
         self.wview(self.vid, rset, 'noresult')
         self.w(u'</div>')