X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8baddcb26c9a80f79b80ad55e78e6341c422951b..bab26e3884bd770b89d652d855f1e9b5d4a8736e:/app/views/diary_entry/list.html.erb?ds=sidebyside diff --git a/app/views/diary_entry/list.html.erb b/app/views/diary_entry/list.html.erb index bbd86e269..2939ec7e6 100644 --- a/app/views/diary_entry/list.html.erb +++ b/app/views/diary_entry/list.html.erb @@ -35,17 +35,17 @@ <% end %> <% if @entries.size < @page_size -%> - <%= link_to t('diary_entry.list.older_entries'), params.merge(:page => @page + 1 ) %> - <% else -%> <%= t('diary_entry.list.older_entries') %> + <% else -%> + <%= link_to t('diary_entry.list.older_entries'), params.merge(:page => @page + 1 ) %> <% end -%> | <% if @page > 1 -%> - <%= t('diary_entry.list.newer_entries') %> - <% else -%> <%= link_to t('diary_entry.list.newer_entries'), params.merge(:page => @page - 1) %> + <% else -%> + <%= t('diary_entry.list.newer_entries') %> <% end -%> <% end %>