diff -r 730676c00907 -r f8e0a007d99b app/soc/views/models/student_project.py --- a/app/soc/views/models/student_project.py Thu Jul 30 10:05:22 2009 +0200 +++ b/app/soc/views/models/student_project.py Thu Jul 30 10:49:19 2009 +0200 @@ -570,8 +570,6 @@ list_params = params.copy() list_params['list_heading'] = params['manage_overview_heading'] list_params['list_row'] = params['manage_overview_row'] - list_params['list_info'] = ( - list_info.getStudentProjectSurveyInfo(org_entity.scope), None) #list all active projects fields['status'] = 'accepted' @@ -582,6 +580,9 @@ active_list = lists.getListContent( request, active_params, fields, idx=0) + # set the needed info + active_list = list_info.setStudentProjectSurveyInfo(active_list, + org_entity.scope) # list all failed projects fields['status'] = 'failed' @@ -592,6 +593,9 @@ failed_list = lists.getListContent( request, failed_params, fields, idx=1, need_content=True) + # set the needed info + failed_list = list_info.setStudentProjectSurveyInfo(failed_list, + org_entity.scope) #list all completed projects fields['status'] = 'completed' @@ -603,6 +607,9 @@ completed_list = lists.getListContent( request, completed_params, fields, idx=2, need_content=True) + # set the needed info + completed_list = list_info.setStudentProjectSurveyInfo(completed_list, + org_entity.scope) # always show the list with active projects content = [active_list]