From: Jean-Philippe Lang Date: Sat, 23 Jun 2007 14:10:13 +0000 (+0000) Subject: Don't show "Projects" label if projects list is empty. X-Git-Tag: 0.5.1~25 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=48c2a690c292e5470b5a8ab7d82d56f9d58fed15;p=redmine.git Don't show "Projects" label if projects list is empty. git-svn-id: http://redmine.rubyforge.org/svn/trunk@568 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/account/show.rhtml b/app/views/account/show.rhtml index cadd807f0..80614895d 100644 --- a/app/views/account/show.rhtml +++ b/app/views/account/show.rhtml @@ -12,6 +12,7 @@

+<% unless @memberships.empty? %>

<%=l(:label_project_plural)%>

+<% end %>

<%=l(:label_activity)%>