web/views/tabs.py
branchtls-sprint
changeset 12560 dc6d44e69a70
parent 1802 d628defebc17
child 1977 606923dff11b
equal deleted inserted replaced
2022:31412adee482 12560:dc6d44e69a70
   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)))