comparison app/helpers/projects_helper.rb @ 995:f9a882232e2d bug_494

Comment only
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 09 Nov 2012 13:57:39 +0000
parents 1affbc7f4b30
children bb32da3bea34 3c9ca27c2d3d
comparison
equal deleted inserted replaced
990:6982f326cb06 995:f9a882232e2d
160 160
161 s 161 s
162 162
163 end 163 end
164 164
165 # Renders a tree of projects that the current user does not belong 165 # Renders a tree of projects. The given collection may be a subset
166 # to, or of all projects if the current user is not logged in. The 166 # of the whole project tree (eg. some intermediate nodes are private
167 # given collection may be a subset of the whole project tree 167 # and can not be seen). We are potentially interested in various
168 # (eg. some intermediate nodes are private and can not be seen). We 168 # things: the project name, description, manager(s), creation date,
169 # are potentially interested in various things: the project name, 169 # last activity date, general activity level, whether there is
170 # description, manager(s), creation date, last activity date, 170 # anything actually hosted here for the project, etc.
171 # general activity level, whether there is anything actually hosted
172 # here for the project, etc.
173 def render_project_table(projects) 171 def render_project_table(projects)
174 172
175 s = "" 173 s = ""
176 s << "<div class='autoscroll'>" 174 s << "<div class='autoscroll'>"
177 s << "<table class='list projects'>" 175 s << "<table class='list projects'>"