From 40f2d5a995a11190c64bec6cb43d69992c95e778 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 21 Feb 2011 13:58:08 +0000 Subject: [PATCH] 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 --- app/views/calendars/show.html.erb | 6 +++--- app/views/gantts/show.html.erb | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/calendars/show.html.erb b/app/views/calendars/show.html.erb index 4c93771ff..30bd155a8 100644 --- a/app/views/calendars/show.html.erb +++ b/app/views/calendars/show.html.erb @@ -1,10 +1,10 @@ -

<%= l(:label_calendar) %>

+

<%= @query.new_record? ? l(:label_calendar) : h(@query.name) %>

<% form_tag(calendar_path, :method => :put, :id => 'query_form') do %> <%= hidden_field_tag('project_id', @project.to_param) if @project%> -
+
"> <%= l(:label_filter_plural) %> -
+
"> <%= 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%> -
+
"> <%= l(:label_filter_plural) %> -
+
"> <%= render :partial => 'queries/filters', :locals => {:query => @query} %>