--- a/web/views/basetemplates.py Thu Feb 19 23:31:43 2009 +0100
+++ b/web/views/basetemplates.py Thu Feb 19 23:32:46 2009 +0100
@@ -112,8 +112,8 @@
if etypefilter and etypefilter.propval('visible'):
etypefilter.dispatch(w=w)
self.nav_html = UStringIO()
- self.pagination(self.req, self.rset, self.nav_html.write,
- not (view and view.need_navigation))
+ if view and view.need_navigation:
+ view.paginate(w=self.nav_html.write)
w(_(self.nav_html.getvalue()))
w(u'<div id="contentmain">\n')
view.dispatch(w=w)
--- a/web/views/startup.py Thu Feb 19 23:31:43 2009 +0100
+++ b/web/views/startup.py Thu Feb 19 23:32:46 2009 +0100
@@ -9,8 +9,8 @@
from logilab.mtconverter import html_escape
+from cubicweb.view import StartupView
from cubicweb.common.uilib import ureport_as_html, unormalize, ajax_replace_url
-from cubicweb.common.view import StartupView
from cubicweb.web.httpcache import EtagHTTPCacheManager
_ = unicode