web/views/tabs.py
branchtls-sprint
changeset 1802 d628defebc17
parent 1498 2c6eec0b46b9
child 1977 606923dff11b
equal deleted inserted replaced
1801:672acc730ce5 1802:d628defebc17
   162     relation (where the project is subject of the relation) will be displayed
   162     relation (where the project is subject of the relation) will be displayed
   163     using the 'gallery' view.
   163     using the 'gallery' view.
   164     """
   164     """
   165     __select__ = EntityView.__select__ & partial_has_related_entities()
   165     __select__ = EntityView.__select__ & partial_has_related_entities()
   166     vid = 'list'
   166     vid = 'list'
   167     
   167 
   168     def cell_call(self, row, col):
   168     def cell_call(self, row, col):
   169         rset = self.entity(row, col).related(self.rtype, role(self))
   169         rset = self.entity(row, col).related(self.rtype, role(self))
   170         self.w(u'<div class="mainInfo">')
   170         self.w(u'<div class="mainInfo">')
   171         if self.title:
   171         if self.title:
   172             self.w(tags.h1(self.req._(self.title)))
   172             self.w(tags.h1(self.req._(self.title)))