X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/00da8a971288e3ca7d779ba7673658b5f7ca753c..921c150b631a9aae5ddff678f3b9368f68f5190e:/app/views/diary_entry/list.html.erb?ds=inline diff --git a/app/views/diary_entry/list.html.erb b/app/views/diary_entry/list.html.erb index ace466e9e..68c8c1266 100644 --- a/app/views/diary_entry/list.html.erb +++ b/app/views/diary_entry/list.html.erb @@ -25,9 +25,9 @@ <%= render :partial => 'diary_entry', :collection => @entries %> - <%= link_to t('diary_entry.list.older_entries'), { :page => @entry_pages.current.next } if @entry_pages.current.next %> + <%= link_to t('diary_entry.list.older_entries'), { :page => @entry_pages.current.next, :language => params[:language] } if @entry_pages.current.next %> <% if @entry_pages.current.next and @entry_pages.current.previous %>|<% end %> - <%= link_to t('diary_entry.list.newer_entries'), { :page => @entry_pages.current.previous } if @entry_pages.current.previous %> + <%= link_to t('diary_entry.list.newer_entries'), { :page => @entry_pages.current.previous, :language => params[:language] } if @entry_pages.current.previous %>
<% end %>