Makes title/filters consistent with the issue list.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4910 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
cf380d959f
commit
7656078b92
|
@ -1,10 +1,10 @@
|
||||||
<h2><%= l(:label_calendar) %></h2>
|
<h2><%= @query.new_record? ? l(:label_calendar) : h(@query.name) %></h2>
|
||||||
|
|
||||||
<% form_tag(calendar_path, :method => :put, :id => 'query_form') do %>
|
<% form_tag(calendar_path, :method => :put, :id => 'query_form') do %>
|
||||||
<%= hidden_field_tag('project_id', @project.to_param) if @project%>
|
<%= hidden_field_tag('project_id', @project.to_param) if @project%>
|
||||||
<fieldset id="filters" class="collapsible">
|
<fieldset id="filters" class="collapsible <%= @query.new_record? ? "" : "collapsed" %>">
|
||||||
<legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
|
<legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
|
||||||
<div>
|
<div style="<%= @query.new_record? ? "" : "display: none;" %>">
|
||||||
<%= render :partial => 'queries/filters', :locals => {:query => @query} %>
|
<%= render :partial => 'queries/filters', :locals => {:query => @query} %>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<% @gantt.view = self %>
|
<% @gantt.view = self %>
|
||||||
<h2><%= l(:label_gantt) %></h2>
|
<h2><%= @query.new_record? ? l(:label_gantt) : h(@query.name) %></h2>
|
||||||
|
|
||||||
<% form_tag(gantt_path(:month => params[:month], :year => params[:year], :months => params[:months]), :method => :put, :id => 'query_form') do %>
|
<% 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%>
|
<%= hidden_field_tag('project_id', @project.to_param) if @project%>
|
||||||
<fieldset id="filters" class="collapsible">
|
<fieldset id="filters" class="collapsible <%= @query.new_record? ? "" : "collapsed" %>">
|
||||||
<legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
|
<legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
|
||||||
<div>
|
<div style="<%= @query.new_record? ? "" : "display: none;" %>">
|
||||||
<%= render :partial => 'queries/filters', :locals => {:query => @query} %>
|
<%= render :partial => 'queries/filters', :locals => {:query => @query} %>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
Loading…
Reference in New Issue