summaryrefslogtreecommitdiffstats
path: root/app/views/issues/gantt.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/issues/gantt.rhtml')
-rw-r--r--app/views/issues/gantt.rhtml8
1 files changed, 2 insertions, 6 deletions
diff --git a/app/views/issues/gantt.rhtml b/app/views/issues/gantt.rhtml
index e1526cc1c..6dc4e7a4b 100644
--- a/app/views/issues/gantt.rhtml
+++ b/app/views/issues/gantt.rhtml
@@ -1,16 +1,12 @@
+<h2><%= l(:label_gantt) %></h2>
+
<% form_tag(params.merge(:month => nil, :year => nil, :months => nil), :id => 'query_form') do %>
-<% if @query.new_record? %>
-<h2><%=l(:label_gantt)%></h2>
<fieldset id="filters" class="collapsible">
<legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
<div>
<%= render :partial => 'queries/filters', :locals => {:query => @query} %>
</div>
</fieldset>
-<% else %>
- <h2><%=h @query.name %></h2>
- <% html_title @query.name %>
-<% end %>
<p style="float:right;">
<%= if @gantt.zoom < 4