Permalink
Browse files

The page navigation controls are also switched to the Older | Newer s…

…tyle
  • Loading branch information...
1 parent 8507f9c commit a6475d95924a18aa8af38efd27b36b8999d57d01 @ssinger committed Mar 18, 2012
Showing with 2 additions and 6 deletions.
  1. +0 −4 app/views/trace/_trace_paging_nav.html.erb
  2. +2 −2 config/locales/en.yml
@@ -1,11 +1,7 @@
<p>
-
-<% if @traces.size > 1 %>
<%= link_to t('trace.trace_paging_nav.newer'), params.merge({ :page => @page - 1 }) if @page > 1 %>
<% if @traces.size > 1 and @page > 1 %>
|
<% end %>
-
<%= link_to t('trace.trace_paging_nav.older'), params.merge({ :page => @page + 1 }) if @traces.size >= @page_size %>
-<% end %>
</p>
View
@@ -1444,8 +1444,8 @@ en:
visibility: "Visibility:"
trace_paging_nav:
showing_page: "Showing page %{page}"
- next: "Next »"
- previous: "« Previous"
+ older: "Older Traces"
+ newer: "Newer Traces"
trace:
pending: "PENDING"
count_points: "%{count} points"

0 comments on commit a6475d9

Please sign in to comment.