1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-10 20:55:21 +00:00

Move action links and edit form above the history when displaying comments in reverse order (#23518).

git-svn-id: http://svn.redmine.org/redmine/trunk@17412 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2018-06-23 05:38:30 +00:00
parent d8a2024715
commit 7dbd9e8c3b
2 changed files with 13 additions and 11 deletions

View File

@ -0,0 +1,10 @@
<div style="clear: both;"></div>
<%= render :partial => 'action_menu' %>
<div style="clear: both;"></div>
<% if @issue.editable? %>
<div id="update" style="display:none;">
<h3><%= l(:button_edit) %></h3>
<%= render :partial => 'edit' %>
</div>
<% end %>

View File

@ -125,6 +125,8 @@ 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>
@ -132,17 +134,7 @@ end %>
</div>
<% end %>
<div style="clear: both;"></div>
<%= render :partial => 'action_menu' %>
<div style="clear: both;"></div>
<% if @issue.editable? %>
<div id="update" style="display:none;">
<h3><%= l(:button_edit) %></h3>
<%= render :partial => 'edit' %>
</div>
<% end %>
<%= render partial: 'action_menu_edit' unless User.current.wants_comments_in_reverse_order? %>
<% other_formats_links do |f| %>
<%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>