Exemplo n.º 1
0
 def _process(self):
     report = ReportGeneral.get(event_id=self.event.id,
                                contrib_id=request.args.get('contrib_id'),
                                start_date=request.args.get('start_date'),
                                end_date=request.args.get('end_date'))
     return WPPiwikStatistics.render_template('statistics.html',
                                              self.event,
                                              report=report)
Exemplo n.º 2
0
 def _checkParams(self, params):
     RHConferenceModifBase._checkParams(self, params)
     self._params = params
     self._params["loading_gif"] = "{}/images/loading.gif".format(Config.getInstance().getBaseURL())
     self._params["report"] = ReportGeneral.get(
         event_id=params.get("confId"),
         contrib_id=params.get("contrib_id"),
         start_date=params.get("start_date"),
         end_date=params.get("end_date"),
     )
Exemplo n.º 3
0
 def _checkParams(self, params):
     RHConferenceModifBase._checkParams(self, params)
     self._params = params
     self._params['loading_gif'] = '{}/images/loading.gif'.format(
         Config.getInstance().getBaseURL())
     self._params['report'] = ReportGeneral.get(
         event_id=params.get('confId'),
         contrib_id=params.get('contrib_id'),
         start_date=params.get('start_date'),
         end_date=params.get('end_date'))
Exemplo n.º 4
0
 def _process(self):
     report = ReportGeneral.get(event_id=self.event.id,
                                contrib_id=request.args.get('contrib_id'),
                                start_date=request.args.get('start_date'),
                                end_date=request.args.get('end_date'))
     return WPPiwikStatistics.render_template('statistics.html', self.event, report=report)