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] %>
<%= l(:label_options) %>

<%= check_box_tag 'default_columns', 1, @query.has_default_columns?, :id => 'query_default_columns', @@ -33,20 +34,22 @@

<%= available_block_columns_tags(@query) %>

- -<% if params[:gantt] %> -

+

+<% else %> +
<%= l(:label_options) %> +

-<% end %>
+<% end %>
<%= l(:label_filter_plural) %> <%= render :partial => 'queries/filters', :locals => {:query => query}%>
+<% unless params[:gantt] %>
<%= l(:label_sort) %> <% 3.times do |i| %> <%= i+1 %>: @@ -63,11 +66,14 @@
<% end %>
+<% end %> +<% unless params[:gantt] %> <%= content_tag 'fieldset', :id => 'columns', :style => (query.has_default_columns? ? 'display:none;' : nil) do %> <%= l(:field_column_names) %> <%= render_query_columns_selection(query) %> <% end %> +<% end %>