X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/70d6880e10881dfd4b68f51cf16609a9f8aaff24..74b91c0e3e53b4b8da8d7f759ecca67ff5c39a7b:/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 63a805b3c..59fa96a83 100644 --- a/app/views/diary_entries/index.html.erb +++ b/app/views/diary_entries/index.html.erb @@ -13,13 +13,13 @@ <% if @user %> <% if @user == current_user %>
-
  • <%= link_to image_tag("new.png", :class => "small_icon", :border=>0) + t('.new'), diary_new_path, {:title => t('.new_title')} %>
  • +
  • <%= link_to image_tag("new.png", :class => "small_icon", :border => 0) + t('.new'), diary_new_path, :title => t('.new_title') %>
  • <% end %> <% else %> <% if current_user %>
    -
  • <%= link_to image_tag("new.png", :class => "small_icon", :border=>0) + t('.new'), diary_new_path, {:title => t('.new_title')} %>
  • +
  • <%= link_to image_tag("new.png", :class => "small_icon", :border => 0) + t('.new'), diary_new_path, :title => t('.new_title') %>
  • <% end %> <% end %> @@ -42,7 +42,7 @@ <% if @entries.size < @page_size -%> <%= t('.older_entries') %> <% else -%> - <%= link_to t('.older_entries'), @params.merge(:page => @page + 1 ) %> + <%= link_to t('.older_entries'), @params.merge(:page => @page + 1) %> <% end -%> |