--- a/web/views/basetemplates.py Mon Jan 18 19:05:08 2010 +0100
+++ b/web/views/basetemplates.py Mon Jan 18 19:21:30 2010 +0100
@@ -2,7 +2,7 @@
"""default templates for CubicWeb web client
:organization: Logilab
-:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
+:copyright: 2001-2010 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
@@ -118,7 +118,7 @@
if etypefilter and etypefilter.cw_propval('visible'):
etypefilter.render(w=w)
self.nav_html = UStringIO()
- if view and view.need_navigation:
+ if view:
view.paginate(w=self.nav_html.write)
w(_(self.nav_html.getvalue()))
w(u'<div id="contentmain">\n')