X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b8c1bbb4f8d9bacaa7d76b38a974f7f6042523ad..ef6803416be6a3be43162f18ed5128cebc4c6033:/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..4a8beab37 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 @newer_entries -%>
+
+ <%= link_to t(".newer_entries"), @params.merge(:after => @entries.first.id), :class => "page-link" %>
+
+ <% else -%>
+
+ <%= t(".newer_entries") %>
+
+ <% end -%>
+
+
<% end %>
<% unless params[:friends] or params[:nearby] -%>