+
">
<%= render :partial => 'queries/filters', :locals => {:query => @query} %>
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb
index 820366279..c1e6cb07d 100644
--- a/app/views/gantts/show.html.erb
+++ b/app/views/gantts/show.html.erb
@@ -1,11 +1,11 @@
<% @gantt.view = self %>
-
<%= l(:label_gantt) %>
+
<%= @query.new_record? ? l(:label_gantt) : h(@query.name) %>
<% form_tag(gantt_path(:month => params[:month], :year => params[:year], :months => params[:months]), :method => :put, :id => 'query_form') do %>
<%= hidden_field_tag('project_id', @project.to_param) if @project%>
-