From 413247ee5b1643dff7923687711c77a5d90d41f5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 27 May 2007 17:42:04 +0000 Subject: Added the ability to archive projects: * Only administrators can archive/unarchive projects. * Once archived, the project is visible on the admin project listing only. It doesn't show up anywhere else in the app. Subprojects are also archived. * Archive/unarchive preserve everything on the project (issues, members, ...). * A subproject can not be unarchived if its parent project is archived. git-svn-id: http://redmine.rubyforge.org/svn/trunk@549 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/show.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/projects/show.rhtml') diff --git a/app/views/projects/show.rhtml b/app/views/projects/show.rhtml index 2afeb8253..92668ad71 100644 --- a/app/views/projects/show.rhtml +++ b/app/views/projects/show.rhtml @@ -45,7 +45,7 @@ <% end %> - <% if @subprojects %> + <% if @subprojects.any? %>

<%=l(:label_subproject_plural)%>

<%= @subprojects.collect{|p| link_to(p.name, :action => 'show', :id => p)}.join(", ") %> -- cgit v1.2.3