Also show 'List my student proposals' after signup closes
authorSverre Rabbelier <srabbelier@gmail.com>
Fri, 03 Apr 2009 19:17:26 +0000
changeset 2080 6c4cf7ae18d8
parent 2079 086c60aad3d8
child 2081 0490222fab35
Also show 'List my student proposals' after signup closes Patch by: Sverre Rabbelier
app/soc/views/models/program.py
--- a/app/soc/views/models/program.py	Fri Apr 03 19:17:08 2009 +0000
+++ b/app/soc/views/models/program.py	Fri Apr 03 19:17:26 2009 +0000
@@ -714,6 +714,8 @@
       items += [('/student_proposal/list_orgs/%s' % (
           student_entity.key().name()),
           "Submit your Student Proposal", 'any_access')]
+
+    if timeline_helper.isAfterEvent(timeline_entity, 'student_signup_start'):
       items += [(redirects.getListSelfRedirect(student_entity,
           {'url_name':'student_proposal'}),
          "List my Student Proposals", 'any_access')]