Merged r11571 from trunk (#12122).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.3-stable@11572 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2013-03-09 10:45:12 +00:00
parent f4def66c58
commit 0ab90145fe
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
<fieldset> <fieldset>
<legend><%= l(:label_related_issues) %></legend> <legend><%= l(:label_related_issues) %></legend>
<label> <label>
<%= check_box_tag "draw_rels", params["draw_rels"], true %> <%= check_box_tag "draw_rels", params["draw_rels"], params[:set_filter].blank? || params[:draw_rels] %>
<% rels = [IssueRelation::TYPE_BLOCKS, IssueRelation::TYPE_PRECEDES] %> <% rels = [IssueRelation::TYPE_BLOCKS, IssueRelation::TYPE_PRECEDES] %>
<% rels.each do |rel| %> <% rels.each do |rel| %>
<% color = Redmine::Helpers::Gantt::DRAW_TYPES[rel][:color] %> <% color = Redmine::Helpers::Gantt::DRAW_TYPES[rel][:color] %>
@ -36,7 +36,7 @@
<fieldset> <fieldset>
<legend><%= l(:label_gantt_progress_line) %></legend> <legend><%= l(:label_gantt_progress_line) %></legend>
<label> <label>
<%= check_box_tag "draw_progress_line", params[:draw_progress_line], false %> <%= check_box_tag "draw_progress_line", params[:draw_progress_line], params[:draw_progress_line] %>
<%= l(:label_display) %> <%= l(:label_display) %>
</label> </label>
</fieldset> </fieldset>