web/component.py
changeset 6140 65a619eb31c4
parent 5940 0e3ae19b181a
child 6141 b8287e54b528
equal deleted inserted replaced
6139:f76599a96238 6140:65a619eb31c4
   195         else:
   195         else:
   196             eid = self.cw_rset[row][col]
   196             eid = self.cw_rset[row][col]
   197             rset = self._cw.execute(self.rql(), {'x': eid})
   197             rset = self._cw.execute(self.rql(), {'x': eid})
   198         if not rset.rowcount:
   198         if not rset.rowcount:
   199             return
   199             return
   200         self.w(u'<div class="%s">' % self.div_class())
   200         self.w(u'<div class="%s">' % self.cssclass)
   201         self.w(u'<h4>%s</h4>\n' % self._cw._(self.title).capitalize())
   201         self.w(u'<h4>%s</h4>\n' % self._cw._(self.title).capitalize())
   202         self.wview(self.vid, rset)
   202         self.wview(self.vid, rset)
   203         self.w(u'</div>')
   203         self.w(u'</div>')
   204 
   204 
   205 
   205