branch | stable |
changeset 5392 | 899d93e4dbe0 |
parent 5222 | ed6905d98a5e |
child 5421 | 8167de96c523 |
--- a/web/views/baseviews.py Fri Apr 23 14:43:16 2010 +0200 +++ b/web/views/baseviews.py Fri Apr 23 15:49:23 2010 +0200 @@ -311,7 +311,8 @@ def call(self, **kwargs): """display a list of entities by calling their <item_vid> view""" - if not 'vtitle' in self._cw.form: + showtitle = kwargs.pop('showtitle', not 'vtitle' in self._cw.form) + if showtitle: self.w(u'<h1>%s</h1>' % self.title) super(SameETypeListView, self).call(**kwargs)