diff --git a/tailbone/templates/master/view.mako b/tailbone/templates/master/view.mako index 6c3fc928..b6946a75 100644 --- a/tailbone/templates/master/view.mako +++ b/tailbone/templates/master/view.mako @@ -30,12 +30,12 @@ % if master.supports_prev_next:
% if prev_instance: - ${h.link_to(u"« Older", url('{}.view'.format(route_prefix), uuid=prev_instance.uuid), class_='button')} + ${h.link_to(u"« Older", url('{}.view'.format(route_prefix), uuid=prev_instance.uuid), class_='button autodisable')} % else: ${h.link_to(u"« Older", '#', class_='button', disabled='disabled')} % endif % if next_instance: - ${h.link_to(u"Newer »", url('{}.view'.format(route_prefix), uuid=next_instance.uuid), class_='button')} + ${h.link_to(u"Newer »", url('{}.view'.format(route_prefix), uuid=next_instance.uuid), class_='button autodisable')} % else: ${h.link_to(u"Newer »", '#', class_='button', disabled='disabled')} % endif