def view_talk(self, id): try: c.day = request.GET['day'] except: c.day = 'all' try: c.talk = Proposal.find_accepted_by_id(id) except: c.talk_id = id c.webmaster_email = lca_info['webmaster_email'] return render('/schedule/invalid_talkid.mako') return render('/schedule/table_view.mako')
def __before__(self, **kwargs): c.proposals = Proposal.find_all_accepted_without_event() c.event_types = EventType.find_all() c.can_edit = True