[page nav] display non clickable previous/next page when it does'nt make sense instead of nothing
--- a/web/component.py Wed Aug 26 11:11:40 2009 +0200
+++ b/web/component.py Wed Aug 26 11:13:42 2009 +0200
@@ -72,7 +72,8 @@
page_link_templ = u'<span class="slice"><a href="%s" title="%s">%s</a></span>'
selected_page_link_templ = u'<span class="selectedSlice"><a href="%s" title="%s">%s</a></span>'
previous_page_link_templ = next_page_link_templ = page_link_templ
- no_previous_page_link = no_next_page_link = u''
+ no_previous_page_link = u'<<'
+ no_next_page_link = u'>>'
def __init__(self, req, rset, **kwargs):
super(NavigationComponent, self).__init__(req, rset, **kwargs)