## -*- coding: utf-8 -*- <%def name="grid_index_nav()">
% if grid_index > 1: ${h.link_to(u"« Previous", '{}?index={}'.format(url('{}.view_index'.format(route_prefix)), grid_index - 1), class_='button')} % else: ${h.link_to(u"« Previous", '#', class_='button', disabled='disabled')} % endif viewing #${'{:,}'.format(grid_index)} of ${'{:,}'.format(grid_count)} results % if grid_index < grid_count: ${h.link_to(u"Next »", '{}?index={}'.format(url('{}.view_index'.format(route_prefix)), grid_index + 1), class_='button')} % else: ${h.link_to(u"Next »", '#', class_='button', disabled='disabled')} % endif