summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-06-06 14:35:21 +0000
committerGo MAEDA <maeda@farend.jp>2019-06-06 14:35:21 +0000
commitac6ab7e74e21f748c2361b6dc35464db629d95f5 (patch)
tree86532e66cd0efc693fdbf7aa8ed41bebf29f5f74 /app
parent4b19df4dd3b9a622cc57abf5247c0049f49a517f (diff)
downloadredmine-ac6ab7e74e21f748c2361b6dc35464db629d95f5.tar.gz
redmine-ac6ab7e74e21f748c2361b6dc35464db629d95f5.zip
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
Diffstat (limited to 'app')
-rw-r--r--app/views/issues/show.html.erb4
1 files 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 %>
</div>
+<%= render partial: 'action_menu_edit' if User.current.wants_comments_in_reverse_order? %>
+
<% if @changesets.present? %>
<div id="issue-changesets">
<h3><%=l(:label_associated_revisions)%></h3>
@@ -127,8 +129,6 @@ end %>
</div>
<% end %>
-<%= render partial: 'action_menu_edit' if User.current.wants_comments_in_reverse_order? %>
-
<% if @journals.present? %>
<div id="history">
<h3><%=l(:label_history)%></h3>