# HG changeset patch # User Sylvain Thénault # Date 1256048490 -7200 # Node ID b7fa3d93640a87f869d1e134a3d3c88ed40f2140 # Parent 9165bd634f90001078a1401cbfdc1b103b7ae421 display title in the component to avoid relying on view supporting title argument diff -r 9165bd634f90 -r b7fa3d93640a web/component.py --- a/web/component.py Tue Oct 20 13:54:40 2009 +0200 +++ b/web/component.py Tue Oct 20 16:21:30 2009 +0200 @@ -175,7 +175,8 @@ if not rset.rowcount: return self.w(u'
' % self.div_class()) - self.wview(self.vid, rset, title=self.req._(self.title).capitalize()) + self.w(u'

%s

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