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