summaryrefslogtreecommitdiffstats
path: root/app/views/queries
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-07-14 13:41:30 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-07-14 13:41:30 +0000
commit010bfc56e15f442e4e597ddc9c436361c61b1e7a (patch)
tree498f9a9cea5fac71c0f63c1a2f92ad02ed6f6470 /app/views/queries
parent3c9263221d3d914b3e6b5f0b8c66ebd859d75403 (diff)
downloadredmine-010bfc56e15f442e4e597ddc9c436361c61b1e7a.tar.gz
redmine-010bfc56e15f442e4e597ddc9c436361c61b1e7a.zip
Ability to save Gantt query filters (#7836).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12020 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/queries')
-rw-r--r--app/views/queries/_form.html.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/queries/_form.html.erb b/app/views/queries/_form.html.erb
index 116821529..c9f710ac0 100644
--- a/app/views/queries/_form.html.erb
+++ b/app/views/queries/_form.html.erb
@@ -2,6 +2,8 @@
<div class="box">
<div class="tabular">
+<%= hidden_field_tag 'gantt', '1' if params[:gantt] %>
+
<p><label for="query_name"><%=l(:field_name)%></label>
<%= text_field 'query', 'name', :size => 80 %></p>
@@ -31,6 +33,13 @@
<p><label><%= l(:button_show) %></label>
<%= available_block_columns_tags(@query) %></p>
+
+<% if params[:gantt] %>
+ <p><label><%= l(:label_gantt) %></label>
+ <label class="inline"><%= check_box_tag "query[draw_relations]", "1", @query.draw_relations %> <%= l(:label_related_issues) %></label>
+ <label class="inline"><%= check_box_tag "query[draw_progress_line]", "1", @query.draw_progress_line %> <%= l(:label_gantt_progress_line) %></label>
+ </p>
+<% end %>
</fieldset>
</div>