From f705b889d9d20086094939b1e7060bf49bd01f2b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 1 May 2008 13:01:23 +0000 Subject: [PATCH] Hide the 'Latest projects' box on the welcome screen if there are no projects (#1156). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1400 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/welcome/index.rhtml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/welcome/index.rhtml b/app/views/welcome/index.rhtml index 5da5a1ed..8c25897b 100644 --- a/app/views/welcome/index.rhtml +++ b/app/views/welcome/index.rhtml @@ -12,6 +12,7 @@
+ <% if @projects.any? %>

<%=l(:label_project_latest)%>

    @@ -22,7 +23,8 @@ <% end %>
-
+
+ <% end %> <% content_for :header_tags do %>