app/soc/views/models/program.py
changeset 1483 f5d1229e9360
parent 1475 22b63ab59b27
child 1490 cb7a272bfd04
equal deleted inserted replaced
1482:5229a40d4792 1483:f5d1229e9360
   297 
   297 
   298     items = []
   298     items = []
   299 
   299 
   300     timeline_entity = program_entity.timeline
   300     timeline_entity = program_entity.timeline
   301 
   301 
   302     # TODO(ljvderijk) add the student application links
       
   303 
       
   304     if timeline_helper.isActivePeriod(timeline_entity, 'student_signup'):
   302     if timeline_helper.isActivePeriod(timeline_entity, 'student_signup'):
   305       #items += [('/org/apply_mentor/%s' % (program_entity.key().name()),
   303       items += [('/student_proposal/list_orgs/%s' % (student_entity.key().name()),
   306       #   "Send in your student proposal (N/A)", 'any_access')]
   304           "Send in your student proposal", 'any_access')]
   307       items += [(redirects.getListSelfRedirect(student_entity,
   305       items += [(redirects.getListSelfRedirect(student_entity,
   308              {'url_name':'student_proposal'}),
   306              {'url_name':'student_proposal'}),
   309          "List my Student Proposals", 'any_access')]
   307          "List my Student Proposals", 'any_access')]
   310 
   308 
   311     return items
   309     return items