From: Anton Khorev Date: Wed, 3 Jan 2024 10:18:08 +0000 (+0300) Subject: Move new diary entry link to the end X-Git-Tag: live~912^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/57d4b3d8ce7ac4b0daabc7ec1815b6e46e7ceae0?ds=sidebyside;hp=-c Move new diary entry link to the end --- 57d4b3d8ce7ac4b0daabc7ec1815b6e46e7ceae0 diff --git a/app/views/diary_entries/index.html.erb b/app/views/diary_entries/index.html.erb index e9d7e18c9..78ac0dcf8 100644 --- a/app/views/diary_entries/index.html.erb +++ b/app/views/diary_entries/index.html.erb @@ -20,13 +20,13 @@
  • <%= link_to t(".in_language_title", :language => language.name), :action => "index", :language => language.code %>
  • <% end %> - <% if @user && @user == current_user || !@user && current_user %> -
  • <%= link_to image_tag("new.png", :class => "small_icon") + t(".new"), new_diary_entry_path, :title => t(".new_title") %>
  • - <% end %> - <% if !@user && current_user %>
  • <%= link_to t(".my_diary"), :controller => "diary_entries", :action => "index", :display_name => current_user.display_name %>
  • <% end %> + + <% if @user && @user == current_user || !@user && current_user %> +
  • <%= link_to image_tag("new.png", :class => "small_icon") + t(".new"), new_diary_entry_path, :title => t(".new_title") %>
  • + <% end %>