예제 #1
0
 def _checkParams(self, params):
     RHConferenceBaseDisplay._checkParams(self, params)
     image_id = request.view_args['image_id']
     self.image = ImageFile.get_one(image_id)
예제 #2
0
 def _checkParams(self, params):
     RHConferenceBaseDisplay._checkParams(self, params)
     self.page = EventPage.get_one(request.view_args['page_id'])
예제 #3
0
 def _checkParams(self, params):
     RHConferenceBaseDisplay._checkParams(self, params)
     self.force_overview = request.view_args.get('force_overview', False)
     self.theme_id, self.theme_override = get_theme(
         self.event_new, request.args.get('view'))
예제 #4
0
 def _checkParams(self, params):
     RHConferenceBaseDisplay._checkParams(self, params)
     self.timetable_layout = request.args.get('layout') or request.args.get(
         'ttLyt')
     self.theme, self.theme_override = get_theme(self.event_new,
                                                 request.args.get('view'))
예제 #5
0
 def _checkParams(self, params):
     RHConferenceBaseDisplay._checkParams(self, params)
     self.entry = self.event_new.timetable_entries.filter_by(
         id=request.view_args['entry_id']).first_or_404()
예제 #6
0
파일: controllers.py 프로젝트: datty/indico
 def _checkParams(self, params):
     RHConferenceBaseDisplay._checkParams(self, params)
     self.agreement = Agreement.get_one(request.view_args['id'])
     if self.agreement.is_orphan():
         raise NotFound('The agreement is not active anymore')
예제 #7
0
파일: event.py 프로젝트: pandey623/indico
 def _checkParams(self, params):
     RHConferenceBaseDisplay._checkParams(self, params)
     SpecificFolderMixin._checkParams(self)
예제 #8
0
 def _checkParams(self, params):
     RHConferenceBaseDisplay._checkParams(self, params)
     self.session = Session.get_one(request.view_args['session_id'],
                                    is_deleted=False)
예제 #9
0
 def _checkParams(self, params):
     RHConferenceBaseDisplay._checkParams(self, params)
     self.contribs = self.event_new.contributions
     self.list_generator = ContributionDisplayListGenerator(
         event=self.event_new)
예제 #10
0
 def _checkParams(self, params):
     RHConferenceBaseDisplay._checkParams(self, params)
     self.contrib = Contribution.get_one(request.view_args['contrib_id'],
                                         is_deleted=False)