X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/92ca4069957666065194e0b63de5b46261b8a21d..dbcf25697613cdb2641f991759c75d890254db2a:/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 32a4e1e0f..9c0112cd0 100644
--- a/app/views/diary_entries/index.html.erb
+++ b/app/views/diary_entries/index.html.erb
@@ -1,25 +1,31 @@
+<% content_for :head, tag.meta(:name => :robots, :content => :noindex) %>
<% content_for :heading do %>
-
id="userinformation"<% end %>>
+
<% if @user %>
- <%= user_image @user %>
+
+ <%= user_image @user %>
+
<% end %>
-
<%= @title %>
-
- <% unless params[:friends] or params[:nearby] -%>
- - <%= rss_link_to :action => "rss", :language => params[:language] %>
- <% end -%>
+
+
<%= @title %>
- <% if @user %>
- <% if @user == current_user %>
-
- <%= link_to image_tag("new.png", :class => "small_icon") + t(".new"), new_diary_entry_path, :title => t(".new_title") %>
- <% end %>
- <% else %>
- <% if current_user %>
-
- <%= link_to image_tag("new.png", :class => "small_icon") + t(".new"), new_diary_entry_path, :title => t(".new_title") %>
- <% end %>
- <% end %>
-
+
+
<% end %>
@@ -30,21 +36,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] -%>