示例#1
0
 def _process_GET(self):
     return WPManageContributions.render_template(
         'contrib_report_filter.html',
         self._conf,
         event=self.event_new,
         filters=self.reporter.report_config['filters'],
         filterable_items=self.reporter.filterable_items)
示例#2
0
 def _process_GET(self):
     return WPManageContributions.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)
示例#3
0
文件: management.py 项目: fph/indico
 def _process(self):
     if self.reporter.static_link_used:
         return redirect(self.reporter.get_report_url())
     contrib_report_args = self.reporter.get_contrib_report_kwargs()
     selected_entry = request.args.get('selected')
     selected_entry = int(selected_entry) if selected_entry else None
     return WPManageContributions.render_template('management/contributions.html', self._conf, event=self.event_new,
                                                  selected_entry=selected_entry, **contrib_report_args)
示例#4
0
 def _process(self):
     if self.reporter.static_link_used:
         return redirect(self.reporter.get_report_url())
     contrib_report_args = self.reporter.get_contrib_report_kwargs()
     selected_entry = request.args.get('selected')
     selected_entry = int(selected_entry) if selected_entry else None
     return WPManageContributions.render_template(
         'management/contributions.html',
         self._conf,
         event=self.event_new,
         selected_entry=selected_entry,
         **contrib_report_args)
示例#5
0
 def _process_GET(self):
     return WPManageContributions.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
文件: management.py 项目: fph/indico
 def _process_GET(self):
     return WPManageContributions.render_template('contrib_report_filter.html', self._conf,
                                                  event=self.event_new,
                                                  filters=self.reporter.report_config['filters'],
                                                  filterable_items=self.reporter.filterable_items)