app/soc/views/models/organization.py
changeset 2103 45a50234e625
parent 2097 ab7a2ea3ca33
child 2121 4f6344dfab28
equal deleted inserted replaced
2102:5bc22dd22ecb 2103:45a50234e625
   215     context = {}
   215     context = {}
   216     context['entity'] = org_entity
   216     context['entity'] = org_entity
   217 
   217 
   218     list_params = student_proposal_view.view.getParams().copy()
   218     list_params = student_proposal_view.view.getParams().copy()
   219     list_params['list_template'] = 'soc/student_proposal/list_for_org.html'
   219     list_params['list_template'] = 'soc/student_proposal/list_for_org.html'
       
   220     list_params['list_key_order'] = [
       
   221          'title', 'abstract', 'content', 'additional_info', 'mentor',
       
   222          'possible_mentors', 'score', 'status', 'created_on',
       
   223          'last_modified_on']
   220 
   224 
   221     ranked_params = list_params.copy()# ranked proposals
   225     ranked_params = list_params.copy()# ranked proposals
   222     ranked_params['list_row'] = ('soc/%(module_name)s/list/'
   226     ranked_params['list_row'] = ('soc/%(module_name)s/list/'
   223         'detailed_row.html' % list_params)
   227         'detailed_row.html' % list_params)
   224     ranked_params['list_heading'] = ('soc/%(module_name)s/list/'
   228     ranked_params['list_heading'] = ('soc/%(module_name)s/list/'