# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1235573695 -3600 # Node ID ae7044a06efb7a02c6ea85524ac7a7bf5ad9cc93 # Parent 3017a858bbc269cb5fe1ae5a643c295d7e80c6d4 title may be None diff -r 3017a858bbc2 -r ae7044a06efb web/views/baseviews.py --- 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'

%s

' % self.req._(self.title).capitalize()) + if self.title: + self.w(u'

%s

' % self.req._(self.title).capitalize()) self.w(u'
') self.wview(self.vid, rset, 'noresult') self.w(u'
')