equal
deleted
inserted
replaced
393 __select__ = EntityView.__select__ & one_etype_rset() |
393 __select__ = EntityView.__select__ & one_etype_rset() |
394 item_vid = 'sameetypelistitem' |
394 item_vid = 'sameetypelistitem' |
395 |
395 |
396 @property |
396 @property |
397 def title(self): |
397 def title(self): |
398 etype = iter(self.cw_rset.column_types(0)).next() |
398 etype = next(iter(self.cw_rset.column_types(0))) |
399 return display_name(self._cw, etype, form='plural') |
399 return display_name(self._cw, etype, form='plural') |
400 |
400 |
401 def call(self, **kwargs): |
401 def call(self, **kwargs): |
402 """display a list of entities by calling their <item_vid> view""" |
402 """display a list of entities by calling their <item_vid> view""" |
403 showtitle = kwargs.pop('showtitle', not 'vtitle' in self._cw.form) |
403 showtitle = kwargs.pop('showtitle', not 'vtitle' in self._cw.form) |