From: Jean-Philippe Lang
Date: Thu, 26 Jun 2014 19:34:59 +0000 (+0000)
Subject: Merged r13168 (#16747).
X-Git-Tag: 2.5.2~13
X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=72d81e9b6f4efd5a0c749e2ef7e72c898597de40;p=redmine.git
Merged r13168 (#16747).
git-svn-id: http://svn.redmine.org/redmine/branches/2.5-stable@13192 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
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 %>