diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-06-23 14:10:13 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-06-23 14:10:13 +0000 |
commit | 48c2a690c292e5470b5a8ab7d82d56f9d58fed15 (patch) | |
tree | 15a1f5439f13f905287e48129b000936063823bf /app/views/account | |
parent | 1a2aee84b21a90ea0b0658520e3b93e6085c8eea (diff) | |
download | redmine-48c2a690c292e5470b5a8ab7d82d56f9d58fed15.tar.gz redmine-48c2a690c292e5470b5a8ab7d82d56f9d58fed15.zip |
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
Diffstat (limited to 'app/views/account')
-rw-r--r-- | app/views/account/show.rhtml | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ </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> |