web/views/tabs.py
branchstable
changeset 7879 9aae456abab5
parent 7855 54283a5b7afc
child 8095 5ad0f8ac7561
equal deleted inserted replaced
7874:be04706eacc9 7879:9aae456abab5
   188     relation (where the project is subject of the relation) will be displayed
   188     relation (where the project is subject of the relation) will be displayed
   189     using the 'gallery' view.
   189     using the 'gallery' view.
   190     """
   190     """
   191     __select__ = EntityView.__select__ & partial_has_related_entities()
   191     __select__ = EntityView.__select__ & partial_has_related_entities()
   192     vid = 'list'
   192     vid = 'list'
       
   193     # to be defined in concrete classes
       
   194     rtype = title = None
   193 
   195 
   194     def cell_call(self, row, col):
   196     def cell_call(self, row, col):
   195         rset = self.cw_rset.get_entity(row, col).related(self.rtype, role(self))
   197         rset = self.cw_rset.get_entity(row, col).related(self.rtype, role(self))
   196         self.w(u'<div class="mainInfo">')
   198         self.w(u'<div class="mainInfo">')
   197         if self.title:
   199         if self.title: