All trackers can now be displayed on the roadmap. By default, only those marked as displayed on the roadmap are displayed. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3162 e93f8b46-1217-0410-a6f0-8f06a7374b81pull/351/head
parent
21b52d2fd9
commit
c66943c9b8
@ -1,47 +0,0 @@ |
||||
<h2><%=l(:label_change_log)%></h2> |
||||
|
||||
<% if @versions.empty? %> |
||||
<p class="nodata"><%= l(:label_no_data) %></p> |
||||
<% end %> |
||||
|
||||
<% @versions.each do |version| %> |
||||
<%= tag 'a', :name => version.name %> |
||||
<h3 class="icon22 icon22-package"><%= link_to_version version %></h3> |
||||
<% if version.effective_date %> |
||||
<p><%= format_date(version.effective_date) %></p> |
||||
<% end %> |
||||
<p><%=h version.description %></p> |
||||
<% issues = version.fixed_issues.visible.find(:all, |
||||
:include => [:status, :tracker, :priority], |
||||
:conditions => ["#{Issue.table_name}.project_id = ? AND #{IssueStatus.table_name}.is_closed=? AND #{Issue.table_name}.tracker_id in (?)", @project.id, true, @selected_tracker_ids], |
||||
:order => "#{Tracker.table_name}.position") unless @selected_tracker_ids.empty? |
||||
issues ||= [] |
||||
%> |
||||
<% if !issues.empty? %> |
||||
<ul> |
||||
<% issues.each do |issue| %> |
||||
<li><%= link_to_issue(issue) %></li> |
||||
<% end %> |
||||
</ul> |
||||
<% end %> |
||||
<% end %> |
||||
|
||||
<% content_for :sidebar do %> |
||||
<% form_tag({},:method => :get) do %> |
||||
<h3><%= l(:label_change_log) %></h3> |
||||
<% @trackers.each do |tracker| %> |
||||
<label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %> |
||||
<%= tracker.name %></label><br /> |
||||
<% end %> |
||||
<% if @project.descendants.active.any? %> |
||||
<%= hidden_field_tag 'with_subprojects', 0 %> |
||||
<br /><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label> |
||||
<% end %> |
||||
<p><%= submit_tag l(:button_apply), :class => 'button-small' %></p> |
||||
<% end %> |
||||
|
||||
<h3><%= l(:label_version_plural) %></h3> |
||||
<% @versions.each do |version| %> |
||||
<%= link_to format_version_name(version), :anchor => version.name %><br /> |
||||
<% end %> |
||||
<% end %> |
Loading…
Reference in new issue