X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1739bf6832886c86b5bf111608982b10f1965c47..29e98571454a450f0af1e2649d1688c6f2afffdb:/app/views/diary_entries/index.html.erb?ds=sidebyside
diff --git a/app/views/diary_entries/index.html.erb b/app/views/diary_entries/index.html.erb
index 96c052da6..6803c761e 100644
--- a/app/views/diary_entries/index.html.erb
+++ b/app/views/diary_entries/index.html.erb
@@ -1,3 +1,4 @@
+<% content_for :head, tag(:meta, :name => :robots, :content => :noindex) %>
<% content_for :heading do %>
id="userinformation"<% end %>>
<% if @user %>
@@ -5,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 %>
@@ -28,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] -%>