equal
deleted
inserted
replaced
379 gps_params['list_heading'] = gps_params['manage_student_project_heading'] |
379 gps_params['list_heading'] = gps_params['manage_student_project_heading'] |
380 gps_params['list_row'] = gps_params['manage_student_project_row'] |
380 gps_params['list_row'] = gps_params['manage_student_project_row'] |
381 gps_params['list_info'] = ( |
381 gps_params['list_info'] = ( |
382 list_info.getProjectSurveyInfoForProject(entity, gps_params), None) |
382 list_info.getProjectSurveyInfoForProject(entity, gps_params), None) |
383 |
383 |
384 #list all surveys for this Project's Program |
384 # list all surveys for this Project's Program |
385 fields['scope_path'] = entity.program.key().id_or_name() |
385 fields['scope_path'] = entity.program.key().id_or_name() |
386 gps_params['list_description'] = \ |
386 gps_params['list_description'] = \ |
387 'List of all Mentor Evaluations for this Project' |
387 'List of all Mentor Evaluations for this Project' |
388 gps_params['list_action'] = None |
388 gps_params['list_action'] = None |
389 |
389 |
400 |
400 |
401 ps_params['list_description'] = \ |
401 ps_params['list_description'] = \ |
402 'List of all Student Evaluations for this Project' |
402 'List of all Student Evaluations for this Project' |
403 ps_params['list_action'] = None |
403 ps_params['list_action'] = None |
404 |
404 |
405 #list all surveys for this Project's Program |
405 # list all surveys for this Project's Program |
406 fields['scope_path'] = entity.program.key().id_or_name() |
406 fields['scope_path'] = entity.program.key().id_or_name() |
407 ps_list = lists.getListContent( |
407 ps_list = lists.getListContent( |
408 request, ps_params, fields, idx=1) |
408 request, ps_params, fields, idx=1) |
409 |
409 |
410 # store both lists in the content |
410 # store both lists in the content |
595 request, failed_params, fields, idx=1, need_content=True) |
595 request, failed_params, fields, idx=1, need_content=True) |
596 # set the needed info |
596 # set the needed info |
597 failed_list = list_info.setStudentProjectSurveyInfo(failed_list, |
597 failed_list = list_info.setStudentProjectSurveyInfo(failed_list, |
598 org_entity.scope) |
598 org_entity.scope) |
599 |
599 |
600 #list all completed projects |
600 # list all completed projects |
601 fields['status'] = 'completed' |
601 fields['status'] = 'completed' |
602 completed_params = list_params.copy() |
602 completed_params = list_params.copy() |
603 completed_params['list_description'] = ('List of %(name_plural)s that have ' |
603 completed_params['list_description'] = ('List of %(name_plural)s that have ' |
604 'successfully completed the program, ' |
604 'successfully completed the program, ' |
605 'these cannot be managed.' % list_params) |
605 'these cannot be managed.' % list_params) |