Exemplo n.º 1
0
 def _process(self):
     if self.event_new.theme == 'static':
         event_info = serialize_event_info(self.event_new)
         timetable_data = TimetableSerializer().serialize_timetable(self.event_new, hide_empty_days=True)
         return self.view_class.render_template('display.html', self._conf, event_info=event_info,
                                                timetable_data=timetable_data, timetable_layout=self.layout)
     else:
         page = WPTPLConferenceDisplay(self, self._conf, view=self.event_new.theme, type='meeting', params={})
         return page.display()
Exemplo n.º 2
0
 def _process(self):
     if self.event_new.theme == 'static':
         event_info = serialize_event_info(self.event_new)
         timetable_data = TimetableSerializer().serialize_timetable(
             self.event_new, hide_empty_days=True)
         return self.view_class.render_template(
             'display.html',
             self._conf,
             event_info=event_info,
             timetable_data=timetable_data,
             timetable_layout=self.layout)
     else:
         page = WPTPLConferenceDisplay(self,
                                       self._conf,
                                       view=self.event_new.theme,
                                       type='meeting',
                                       params={})
         return page.display()
Exemplo n.º 3
0
 def _getVariables(self, conf):
     variables = WPTPLConferenceDisplay._getVariables(self, conf)
     variables['registrationOpen'] = False
     variables['evaluationLink'] = False
     return variables
Exemplo n.º 4
0
 def _getVariables(self, conf):
     variables = WPTPLConferenceDisplay._getVariables(self, conf)
     variables['registrationOpen'] = False
     variables['evaluationLink'] = False
     return variables