app/soc/views/models/organization.py
changeset 2283 f92942dfc28f
parent 2259 62676277db14
child 2296 ebc4931f0762
equal deleted inserted replaced
2282:47a7eb2704c2 2283:f92942dfc28f
   534 
   534 
   535     program_entity = entity.scope
   535     program_entity = entity.scope
   536 
   536 
   537     if timeline_helper.isAfterEvent(program_entity.timeline,
   537     if timeline_helper.isAfterEvent(program_entity.timeline,
   538                                     'accepted_students_announced_deadline'):
   538                                     'accepted_students_announced_deadline'):
   539       ap_params = student_project_view.view.getParams().copy() # accepted projects
   539       # accepted projects
       
   540       ap_params = student_project_view.view.getParams().copy() 
   540 
   541 
   541       # define the list redirect action to show the notification
   542       # define the list redirect action to show the notification
   542       ap_params['list_action'] = (redirects.getPublicRedirect, ap_params)
   543       ap_params['list_action'] = (redirects.getPublicRedirect, ap_params)
   543       ap_params['list_description'] = self.DEF_ACCEPTED_PROJECTS_MSG_FMT % (
   544       ap_params['list_description'] = self.DEF_ACCEPTED_PROJECTS_MSG_FMT % (
   544           entity.name)
   545           entity.name)