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:
parent
d8a2024715
commit
7dbd9e8c3b
10
app/views/issues/_action_menu_edit.html.erb
Normal file
10
app/views/issues/_action_menu_edit.html.erb
Normal 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 %>
|
||||
@ -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} %>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user