Mercurial > hg > soundsoftware-site
changeset 415:405dd646a6cc cannam-pre-20110113-merge
Merge
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Tue, 10 May 2011 10:09:02 +0100 |
parents | 0964cbb51753 (current diff) 576a1dca2ee2 (diff) |
children | a9921f3e9088 c759f8787b07 |
files | |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/app/helpers/projects_helper.rb Thu Apr 28 13:36:40 2011 +0100 +++ b/app/helpers/projects_helper.rb Tue May 10 10:09:02 2011 +0100 @@ -237,7 +237,9 @@ s << "</tr>" project.children.each do |child| - s << render_project_in_table(child, oddeven, level + 1) + if child.is_public? or User.current.member_of?(child) + s << render_project_in_table(child, oddeven, level + 1) + end end s