Exemple #1
0
 def _process(self):
     sessions = get_sessions_for_user(self.event_new, session.user)
     return WPDisplayMySessionsConference.render_template(
         'display/session_list.html',
         self._conf,
         event=self.event_new,
         sessions=sessions)
Exemple #2
0
 def _process(self):
     sessions = get_sessions_for_user(self.event_new, session.user)
     return WPDisplayMySessionsConference.render_template('display/session_list.html', self._conf,
                                                          event=self.event_new, sessions=sessions)
Exemple #3
0
 def _visible_my_sessions(event):
     return session.user and bool(
         get_sessions_for_user(event.as_event, session.user))
Exemple #4
0
 def _visible_my_sessions(event):
     return session.user and bool(get_sessions_for_user(event.as_event, session.user))