X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/6db326aa1f084a062a3b658876bc01bf650f5702..f138055849e5b09cd94797c3e1705c6357d6b93b:/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 4610e5fd7..e95b31bb2 100644 --- a/app/views/diary_entries/index.html.erb +++ b/app/views/diary_entries/index.html.erb @@ -1,29 +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 %> -

<%= h(@title) %>

- + +
<% end %> @@ -32,27 +34,31 @@ <% else %>

<%= t ".recent_entries" %>

- <% if @user %> - <%= render :partial => "diary_entry", :collection => @entries %> - <% else %> - <%= render :partial => "diary_index_entry", :collection => @entries %> - <% end %> - - + <%= render @entries %> + + <% end %> <% unless params[:friends] or params[:nearby] -%>