From 57d4b3d8ce7ac4b0daabc7ec1815b6e46e7ceae0 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 3 Jan 2024 13:18:08 +0300 Subject: [PATCH] Move new diary entry link to the end --- app/views/diary_entries/index.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 %> -- 2.39.5