summaryrefslogtreecommitdiffstats
path: root/app/views/projects/settings/_versions.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-06 10:28:20 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-06 10:28:20 +0000
commit5f8e9d71182040473d4072241ce81fcadada497f (patch)
tree7701b9fed7aed50afd4dbf7fd34ec5ef08d40e5f /app/views/projects/settings/_versions.rhtml
parente1781235696fe23851154ebbdc913e970d3c0f3a (diff)
downloadredmine-5f8e9d71182040473d4072241ce81fcadada497f.tar.gz
redmine-5f8e9d71182040473d4072241ce81fcadada497f.zip
Version sharing (#465) + optional inclusion of subprojects in the roadmap view (#2666).
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
Diffstat (limited to 'app/views/projects/settings/_versions.rhtml')
-rw-r--r--app/views/projects/settings/_versions.rhtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/settings/_versions.rhtml b/app/views/projects/settings/_versions.rhtml
index 9bca58cf7..4fb5e9375 100644
--- a/app/views/projects/settings/_versions.rhtml
+++ b/app/views/projects/settings/_versions.rhtml
@@ -5,6 +5,7 @@
<th><%= l(:field_effective_date) %></th>
<th><%= l(:field_description) %></th>
<th><%= l(:field_status) %></th>
+ <th><%= l(:field_sharing) %></th>
<th><%= l(:label_wiki_page) unless @project.wiki.nil? %></th>
<th style="width:15%"></th>
</thead>
@@ -15,6 +16,7 @@
<td align="center"><%= format_date(version.effective_date) %></td>
<td><%=h version.description %></td>
<td><%= l("version_status_#{version.status}") %></td>
+ <td><%=h format_version_sharing(version.sharing) %></td>
<td><%= link_to(h(version.wiki_page_title), :controller => 'wiki', :page => Wiki.titleize(version.wiki_page_title)) unless version.wiki_page_title.blank? || @project.wiki.nil? %></td>
<td class="buttons">
<%= link_to_if_authorized l(:button_edit), {:controller => 'versions', :action => 'edit', :id => version }, :class => 'icon icon-edit' %>