Beispiel #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)
Beispiel #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)
Beispiel #3
0
 def _visible_my_sessions(event):
     return session.user and bool(
         get_sessions_for_user(event.as_event, session.user))
Beispiel #4
0
 def _visible_my_sessions(event):
     return session.user and bool(get_sessions_for_user(event.as_event, session.user))