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
This commit is contained in:
Jean-Philippe Lang 2008-05-01 13:01:23 +00:00
parent 2d11265ec5
commit f705b889d9
1 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,7 @@
</div>
<div class="splitcontentright">
<% if @projects.any? %>
<div class="box">
<h3 class="icon22 icon22-projects"><%=l(:label_project_latest)%></h3>
<ul>
@ -22,7 +23,8 @@
</li>
<% end %>
</ul>
</div>
</div>
<% end %>
</div>
<% content_for :header_tags do %>