X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6db326aa1f084a062a3b658876bc01bf650f5702..ef6803416be6a3be43162f18ed5128cebc4c6033:/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 4610e5fd7..4a8beab37 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] -%>