예제 #1
0
 def _process_GET(self):
     return WPContributions.render_template(
         'contrib_list_filter.html',
         self._conf,
         event=self.event_new,
         filters=self.list_generator.list_config['filters'],
         static_items=self.list_generator.static_items)
예제 #2
0
파일: display.py 프로젝트: stomanin/indico
 def _process_GET(self):
     return WPContributions.render_template(
         'contrib_report_filter.html',
         self._conf,
         event=self.event_new,
         filters=self.reporter.report_config['filters'],
         filterable_items=self.reporter.filterable_items)
예제 #3
0
 def _process(self):
     author_contribs = (Contribution.query.with_parent(self.event)
                        .join(ContributionPersonLink)
                        .options(joinedload('event'))
                        .options(load_only('id', 'title'))
                        .filter(ContributionPersonLink.id == self.author.id,
                                ContributionPersonLink.author_type != AuthorType.none)
                        .all())
     return WPContributions.render_template('display/contribution_author.html', self.event,
                                            author=self.author, contribs=author_contribs)
예제 #4
0
파일: display.py 프로젝트: hkilter/indico
 def _process(self):
     author_contribs = (Contribution.query.with_parent(self.event)
                        .join(ContributionPersonLink)
                        .options(joinedload('event'))
                        .options(load_only('id', 'title'))
                        .filter(ContributionPersonLink.id == self.author.id,
                                ContributionPersonLink.author_type != AuthorType.none)
                        .all())
     return WPContributions.render_template('display/contribution_author.html', self.event,
                                            author=self.author, contribs=author_contribs)
예제 #5
0
 def _process_GET(self):
     return WPContributions.render_template('contrib_list_filter.html', self._conf, event=self.event_new,
                                            filters=self.list_generator.list_config['filters'],
                                            static_items=self.list_generator.static_items)
예제 #6
0
파일: display.py 프로젝트: fph/indico
 def _process_GET(self):
     return WPContributions.render_template('contrib_report_filter.html', self._conf, event=self.event_new,
                                            filters=self.reporter.report_config['filters'],
                                            filterable_items=self.reporter.filterable_items)