X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/06c2db433d63ebd0e5a83cb6b68a29a6ca1d5050..a780a7456f34e13b51f198e8923ab6aedfb5d333:/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 6803c761e..f6e2c37c5 100644 --- a/app/views/diary_entries/index.html.erb +++ b/app/views/diary_entries/index.html.erb @@ -1,26 +1,31 @@ -<% content_for :head, tag(:meta, :name => :robots, :content => :noindex) %> +<% 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 %>

- - + +
+

<%= @title %>

+ + +
<% end %> @@ -31,29 +36,10 @@ <%= render @entries %> - + <%= render "pagination", :newer_key => "diary_entries.index.newer_entries", + :older_key => "diary_entries.index.older_entries", + :newer_id => @newer_entries_id, + :older_id => @older_entries_id %> <% end %> <% unless params[:friends] or params[:nearby] -%>