From 72d81e9b6f4efd5a0c749e2ef7e72c898597de40 Mon Sep 17 00:00:00 2001
From: Jean-Philippe Lang
Date: Thu, 26 Jun 2014 19:34:59 +0000
Subject: [PATCH] Merged r13168 (#16747).
git-svn-id: http://svn.redmine.org/redmine/branches/2.5-stable@13192 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
app/views/queries/_form.html.erb | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/app/views/queries/_form.html.erb b/app/views/queries/_form.html.erb
index c9f710ac0..fc03b857d 100644
--- a/app/views/queries/_form.html.erb
+++ b/app/views/queries/_form.html.erb
@@ -23,6 +23,7 @@
<%= check_box_tag 'query_is_for_all', 1, @query.project.nil?,
:disabled => (!@query.new_record? && (@query.project.nil? || (@query.is_public? && !User.current.admin?))) %>
+<% unless params[:gantt] %>
+<% else %>
+
+<% end %>
+<% unless params[:gantt] %>
+<% end %>
+<% unless params[:gantt] %>
<%= content_tag 'fieldset', :id => 'columns', :style => (query.has_default_columns? ? 'display:none;' : nil) do %>
<%= render_query_columns_selection(query) %>
<% end %>
+<% end %>
--
2.39.5