Rename views to rails 2 style names.

This commit is contained in:
Tom Hughes 2009-06-09 20:50:14 +00:00
parent a8c7d1c4ce
commit 2e2f212472
91 changed files with 2 additions and 6 deletions

View file

@ -0,0 +1,12 @@
<% current_page = @trace_pages.current_page %>
<%= t'trace.trace_paging_nav.showing' %>
<%= current_page.number %> (<%= current_page.first_item %><%
if (current_page.first_item < current_page.last_item) # if more than 1 trace on page
%>-<%= current_page.last_item %><%
end %>
<%= t'trace.trace_paging_nav.of' %> <%= @trace_pages.item_count %>)
<% if @trace_pages.page_count > 1 %>
| <%= pagination_links_each(@trace_pages, {}) { |n| link_to_page(n) } %>
<% end %>