equal
deleted
inserted
replaced
17 """GHOP specific views for Programs. |
17 """GHOP specific views for Programs. |
18 """ |
18 """ |
19 |
19 |
20 __authors__ = [ |
20 __authors__ = [ |
21 '"Madhusudan.C.S" <madhusudancs@gmail.com>', |
21 '"Madhusudan.C.S" <madhusudancs@gmail.com>', |
|
22 '"Daniel Hans" <daniel.m.hans@gmail.com>', |
22 '"Lennard de Rijk" <ljvderijk@gmail.com>', |
23 '"Lennard de Rijk" <ljvderijk@gmail.com>', |
23 ] |
24 ] |
24 |
25 |
25 |
26 |
26 import datetime |
27 import datetime |
436 timeline_entity = ghop_program_entity.timeline |
437 timeline_entity = ghop_program_entity.timeline |
437 |
438 |
438 if timeline_helper.isAfterEvent(timeline_entity, |
439 if timeline_helper.isAfterEvent(timeline_entity, |
439 'student_signup_start'): |
440 'student_signup_start'): |
440 # add a link to show all projects |
441 # add a link to show all projects |
441 items += [(redirects.getListProjectsRedirect(ghop_program_entity, |
442 items += [(ghop_redirects.getListStudentTasksRedirect( |
442 {'url_name':'ghop/task'}), |
443 student_entity, {'url_name':'ghop/student'}), |
443 "List my Tasks", 'any_access')] |
444 "List my Tasks", 'any_access')] |
444 |
445 |
445 items += [(redirects.getEditRedirect(student_entity, |
446 items += [(redirects.getEditRedirect(student_entity, |
446 {'url_name': 'ghop/student'}), |
447 {'url_name': 'ghop/student'}), |
447 "Edit my Student Profile", 'any_access')] |
448 "Edit my Student Profile", 'any_access')] |