Project

General

Profile

Feature #7637 ยป edit_above_history_in_reverse.diff

Dmitry Babenko, 2011-02-16 22:11

View differences:

app/views/issues/show.rhtml (working copy)
</div>
<% if User.current.wants_comments_in_reverse_order? && authorize_for('issues', 'edit') %>
<div id="update" style="display:none;">
<h3><%= l(:button_update) %></h3>
<%= render :partial => 'edit' %>
</div>
<% end %>
<div style="clear: both;"></div>
<% if @changesets.present? %>
<div id="issue-changesets">
<h3><%=l(:label_associated_revisions)%></h3>
......
<%= render :partial => 'action_menu', :locals => {:replace_watcher => 'watcher2' } %>
<div style="clear: both;"></div>
<% if authorize_for('issues', 'edit') %>
<% if not User.current.wants_comments_in_reverse_order? && authorize_for('issues', 'edit') %>
<div id="update" style="display:none;">
<h3><%= l(:button_update) %></h3>
<%= render :partial => 'edit' %>
    (1-1/1)