<%inherit file="/base/customer.mako" /> <%def name="heading()">

${_('Customer List')}

<%def name="buildrow(customer, odd=True)"> %if odd: %else: %endif ${h.link_to( customer.id, h.url_for( controller=u'customer', action='view', id=unicode(customer.id) ) )} ${customer} %if len(c.paginator):

${c.paginator.pager(_('$link_first $link_previous $first_item to $last_item of $item_count $link_next $link_last'))}

<% counter=0 %> %for item in c.paginator: ${buildrow(item, counter%2)} <% counter += 1 %> %endfor
${_('Customer ID')} ${_('Customer')}

${c.paginator.pager('~2~')}

%else:

${_('No customers have yet been created.')} ${h.link_to(_('Add one'), h.url_for(controller='customer', action='new'))}.

%endif