X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f36b6375e9a61f44b20bc638e07a7024f4437869..9cd96bd452415918be77d6d2094c021b652c9048:/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 cb3f7f832..9c0112cd0 100644 --- a/app/views/diary_entries/index.html.erb +++ b/app/views/diary_entries/index.html.erb @@ -1,24 +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 %>

- + +
<% end %> @@ -29,21 +36,29 @@ <%= render @entries %> - + <% if @page > 1 -%> +
  • + <%= link_to t(".newer_entries"), @params.merge(:page => @page - 1), :class => "page-link" %> +
  • + <% else -%> +
  • + <%= t(".newer_entries") %> +
  • + <% end -%> + + <% end %> <% unless params[:friends] or params[:nearby] -%>