]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/_trace_paging_nav.rhtml
Rename views to rails 2 style names.
[rails.git] / app / views / trace / _trace_paging_nav.rhtml
diff --git a/app/views/trace/_trace_paging_nav.rhtml b/app/views/trace/_trace_paging_nav.rhtml
deleted file mode 100644 (file)
index 9ac80d4..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<% 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 %>