X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3af16f6337b52546297e7e09a1aba9b0e1df7e15..e342314d8b513dd1b7693a40885fd61d439a3557:/app/views/diary_entries/index.html.erb?ds=inline diff --git a/app/views/diary_entries/index.html.erb b/app/views/diary_entries/index.html.erb index ba42ae23c..9c0112cd0 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] -%>