app/soc/views/models/organization.py
changeset 2212 4095892a3c99
parent 2207 f283f7b99427
child 2220 6007ed887fee
equal deleted inserted replaced
2211:f7497180d037 2212:4095892a3c99
   276       assigned_proposals = sp_logic.getProposalsToBeAcceptedForOrg(org_entity)
   276       assigned_proposals = sp_logic.getProposalsToBeAcceptedForOrg(org_entity)
   277 
   277 
   278       # show the amount of slots assigned on the webpage
   278       # show the amount of slots assigned on the webpage
   279       context['slots_visible'] = True
   279       context['slots_visible'] = True
   280 
   280 
   281     ranking_keys = dict([(k.key(),v) for k,v in ranking.iteritems()])
   281     ranking_keys = dict([(k.key(), v) for k, v in ranking.iteritems()])
   282     proposal_keys = [i.key() for i in assigned_proposals]
   282     proposal_keys = [i.key() for i in assigned_proposals]
   283 
   283 
   284     # update the prop_list with the ranking and coloring information
   284     # update the prop_list with the ranking and coloring information
   285     prop_list['info'] = (list_info_helper.getStudentProposalInfo(ranking_keys,
   285     prop_list['info'] = (list_info_helper.getStudentProposalInfo(ranking_keys,
   286         proposal_keys), None)
   286         proposal_keys), None)