comparison app/helpers/projects_helper.rb @ 417:6b3e9f512761 live

Merge
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 10 May 2011 10:10:24 +0100
parents 576a1dca2ee2
children 2008fa7fda29
comparison
equal deleted inserted replaced
413:c6f2ad88bc9c 417:6b3e9f512761
235 s << "<td class='updated_on' align=top>" << format_date(project.updated_on) << "</td>" 235 s << "<td class='updated_on' align=top>" << format_date(project.updated_on) << "</td>"
236 236
237 s << "</tr>" 237 s << "</tr>"
238 238
239 project.children.each do |child| 239 project.children.each do |child|
240 s << render_project_in_table(child, oddeven, level + 1) 240 if child.is_public? or User.current.member_of?(child)
241 s << render_project_in_table(child, oddeven, level + 1)
242 end
241 end 243 end
242 244
243 s 245 s
244 end 246 end
245 247