X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f36b6375e9a61f44b20bc638e07a7024f4437869..764f808d5a5faebc835ed0f588bae4a306ad687d:/app/views/diary_entries/index.html.erb
diff --git a/app/views/diary_entries/index.html.erb b/app/views/diary_entries/index.html.erb
index cb3f7f832..6803c761e 100644
--- a/app/views/diary_entries/index.html.erb
+++ b/app/views/diary_entries/index.html.erb
@@ -6,19 +6,21 @@
<% end %>
<%= @title %>
-
- <% unless params[:friends] or params[:nearby] -%>
- - <%= rss_link_to :action => "rss", :language => params[:language] %>
- <% end -%>
-
- <% if @user && @user == current_user || !@user && current_user %>
- - <%= link_to image_tag("new.png", :class => "small_icon") + t(".new"), new_diary_entry_path, :title => t(".new_title") %>
- <% end %>
-
- <% if !@user && current_user %>
- - <%= link_to t(".my_diary"), :controller => "diary_entries", :action => "index", :display_name => current_user.display_name %>
- <% end %>
-
+
<% end %>
@@ -29,21 +31,29 @@
<%= render @entries %>
-
+ <% if @page > 1 -%>
+
+ <%= link_to t(".newer_entries"), @params.merge(:page => @page - 1), :class => "page-link" %>
+
+ <% else -%>
+
+ <%= t(".newer_entries") %>
+
+ <% end -%>
+
+
<% end %>
<% unless params[:friends] or params[:nearby] -%>