app/soc/views/models/organization.py
changeset 2573 f09f317769c4
parent 2418 32cb30846cfd
child 2694 b8f083157e33
equal deleted inserted replaced
2572:1ad6d986be6d 2573:f09f317769c4
   491       ap_params['list_heading'] = 'soc/student_project/list/heading.html'
   491       ap_params['list_heading'] = 'soc/student_project/list/heading.html'
   492       ap_params['list_row'] = 'soc/student_project/list/row.html'
   492       ap_params['list_row'] = 'soc/student_project/list/row.html'
   493 
   493 
   494       # only show projects that have not failed
   494       # only show projects that have not failed
   495       filter = {'scope': entity,
   495       filter = {'scope': entity,
   496                 'status': ['accepted', 'mid_term_passed', 'passed']}
   496                 'status': ['accepted', 'completed']}
   497 
   497 
   498       ap_list = lists.getListContent(request, ap_params, filter, idx=0,
   498       ap_list = lists.getListContent(request, ap_params, filter, idx=0,
   499                                      need_content=True)
   499                                      need_content=True)
   500 
   500 
   501       contents = []
   501       contents = []