Each version of a project can be shared with: * subprojects * projects in the project hierarchy: ancestors + descendants (needs versions management permission on the root project) * projects in the project tree: root project + all its descendants (same as above) * all projects (can be set by admin users only) Notes: * when sharing a version of a private project with others projects, its name will be visible within the other projects * a project with versions used by non descendant projects can not be archived git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3123 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -6,17 +6,11 @@
|
||||
<div id="roadmap">
|
||||
<% @versions.each do |version| %>
|
||||
<%= tag 'a', :name => version.name %>
|
||||
<h3 class="icon22 icon22-package"><%= link_to h(version.name), :controller => 'versions', :action => 'show', :id => version %></h3>
|
||||
<h3 class="icon22 icon22-package"><%= link_to_version version %></h3>
|
||||
<%= render :partial => 'versions/overview', :locals => {:version => version} %>
|
||||
<%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %>
|
||||
|
||||
<% issues = version.fixed_issues.find(:all,
|
||||
:include => [:status, :tracker, :priority],
|
||||
:conditions => ["tracker_id in (#{@selected_tracker_ids.join(',')})"],
|
||||
:order => "#{Tracker.table_name}.position, #{Issue.table_name}.id") unless @selected_tracker_ids.empty?
|
||||
issues ||= []
|
||||
%>
|
||||
<% if issues.size > 0 %>
|
||||
<% if (issues = @issues_by_version[version]) && issues.size > 0 %>
|
||||
<fieldset class="related-issues"><legend><%= l(:label_related_issues) %></legend>
|
||||
<ul>
|
||||
<%- issues.each do |issue| -%>
|
||||
@@ -39,12 +33,16 @@
|
||||
<% end %>
|
||||
<br />
|
||||
<label for="completed"><%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %></label>
|
||||
<% 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', :name => nil %></p>
|
||||
<% end %>
|
||||
|
||||
<h3><%= l(:label_version_plural) %></h3>
|
||||
<% @versions.each do |version| %>
|
||||
<%= link_to version.name, "##{version.name}" %><br />
|
||||
<%= link_to format_version_name(version), "##{version.name}" %><br />
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user