From ac6ab7e74e21f748c2361b6dc35464db629d95f5 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 6 Jun 2019 14:35:21 +0000 Subject: [PATCH] Fix incorrect position of the "Associated revisions" block when comments are displayed in reverse chronological order (#31438). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18229 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index fc93afd9d..eade4da7b 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -120,6 +120,8 @@ end %> +<%= render partial: 'action_menu_edit' if User.current.wants_comments_in_reverse_order? %> + <% if @changesets.present? %>

<%=l(:label_associated_revisions)%>

@@ -127,8 +129,6 @@ end %>
<% end %> -<%= render partial: 'action_menu_edit' if User.current.wants_comments_in_reverse_order? %> - <% if @journals.present? %>

<%=l(:label_history)%>

-- 2.39.5