From 6cb09cf780cf753277fa8c9fc3c3548d22fdec85 Mon Sep 17 00:00:00 2001 From: Dmitry Babenko Date: Wed, 30 Nov 2011 12:52:54 +0200 Subject: [PATCH] Display issue edit form above History in reverse chronological order --- app/views/issues/show.html.erb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 491966b2224..7d312b50429 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -82,6 +82,14 @@ +<% if User.current.wants_comments_in_reverse_order? && authorize_for('issues', 'edit') %> + +
+<% end %> + <% if @changesets.present? %>

<%=l(:label_associated_revisions)%>

@@ -101,7 +109,7 @@ <%= render :partial => 'action_menu' %>
-<% if authorize_for('issues', 'edit') %> +<% if not User.current.wants_comments_in_reverse_order? && authorize_for('issues', 'edit') %>