equal
deleted
inserted
replaced
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: |