X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/898cc828dd1f1167f85abbf35c8e3f0ed640ac1e..9c83235f72aece554426751e334c1f0b4ccaea64:/app/views/notes/_notes_paging_nav.html.erb diff --git a/app/views/notes/_notes_paging_nav.html.erb b/app/views/notes/_notes_paging_nav.html.erb index 108cbb3d2..694f99602 100644 --- a/app/views/notes/_notes_paging_nav.html.erb +++ b/app/views/notes/_notes_paging_nav.html.erb @@ -1,17 +1,17 @@
<% if @page > 1 %> -<%= link_to t('changeset.changeset_paging_nav.previous'), params.merge({ :page => @page - 1 }) %> +<%= link_to t('changesets.changeset_paging_nav.previous'), @params.merge({ :page => @page - 1 }) %> <% else %> -<%= t('changeset.changeset_paging_nav.previous') %> +<%= t('changesets.changeset_paging_nav.previous') %> <% end %> -| <%= t('changeset.changeset_paging_nav.showing_page', :page => @page) %> | +| <%= t('changesets.changeset_paging_nav.showing_page', :page => @page) %> | <% if @notes.size < @page_size %> -<%= t('changeset.changeset_paging_nav.next') %> +<%= t('changesets.changeset_paging_nav.next') %> <% else %> -<%= link_to t('changeset.changeset_paging_nav.next'), params.merge({ :page => @page + 1 }) %> +<%= link_to t('changesets.changeset_paging_nav.next'), @params.merge({ :page => @page + 1 }) %> <% end %>