• class="disabled"<% } %>> 0 ){ %> id="prev" href="#" <% } %>><%= strings.previousPage %>
  • <% if( pages.length > 1 && pages[0] != 0 ){ %>
  • 1
  • ...
  • <% } %> <% _.each(pages, function(i){ %>
  • class="active"<%} %>><%= i+1 %>
  • <%}); %> <% if( pages.length > 1 && pages[ pages.length - 1 ] != numPages - 1 ){ %>
  • ...
  • <%= numPages %>
  • <% } %>
  • class="disabled"<% } %>> id="next" href="#" <% } %>><%= strings.nextPage %>