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)
82 82

  
83 83
</div>
84 84

  
85
<% if User.current.wants_comments_in_reverse_order? && authorize_for('issues', 'edit') %>
86
  <div id="update" style="display:none;">
87
  <h3><%= l(:button_update) %></h3>
88
  <%= render :partial => 'edit' %>
89
  </div>
90
<% end %>
91
<div style="clear: both;"></div>
92

  
85 93
<% if @changesets.present? %>
86 94
<div id="issue-changesets">
87 95
<h3><%=l(:label_associated_revisions)%></h3>
......
101 109
<%= render :partial => 'action_menu', :locals => {:replace_watcher => 'watcher2' } %>
102 110

  
103 111
<div style="clear: both;"></div>
104
<% if authorize_for('issues', 'edit') %>
112
<% if not User.current.wants_comments_in_reverse_order? && authorize_for('issues', 'edit') %>
105 113
  <div id="update" style="display:none;">
106 114
  <h3><%= l(:button_update) %></h3>
107 115
  <%= render :partial => 'edit' %>
    (1-1/1)