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
This commit is contained in:
parent
1a2aee84b2
commit
48c2a690c2
|
@ -12,6 +12,7 @@
|
|||
</ul>
|
||||
</p>
|
||||
|
||||
<% unless @memberships.empty? %>
|
||||
<h3><%=l(:label_project_plural)%></h3>
|
||||
<ul>
|
||||
<% for membership in @memberships %>
|
||||
|
@ -19,6 +20,7 @@
|
|||
(<%= membership.role.name %>, <%= format_date(membership.created_on) %>)</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
||||
<h3><%=l(:label_activity)%></h3>
|
||||
<p>
|
||||
|
|
Loading…
Reference in New Issue