web/component.py
changeset 3777 3ef8cdb5fb1c
parent 3629 559cad62c786
parent 3750 b7fa3d93640a
child 3890 d7a270f50f54
equal deleted inserted replaced
3739:817e96eeac5c 3777:3ef8cdb5fb1c
   171             eid = self.cw_rset[row][col]
   171             eid = self.cw_rset[row][col]
   172             rset = self._cw.execute(self.rql(), {'x': eid}, 'x')
   172             rset = self._cw.execute(self.rql(), {'x': eid}, 'x')
   173         if not rset.rowcount:
   173         if not rset.rowcount:
   174             return
   174             return
   175         self.w(u'<div class="%s">' % self.div_class())
   175         self.w(u'<div class="%s">' % self.div_class())
   176         self.wview(self.vid, rset, title=self._cw._(self.title).capitalize())
   176         self.w(u'<h4>%s</h4>\n' % self._cw._(self.title).capitalize())
       
   177         self.wview(self.vid, rset)
   177         self.w(u'</div>')
   178         self.w(u'</div>')
   178 
   179 
   179 
   180 
   180 VComponent = class_renamed('VComponent', Component,
   181 VComponent = class_renamed('VComponent', Component,
   181                            'VComponent is deprecated, use Component')
   182                            'VComponent is deprecated, use Component')