Ejemplo n.º 1
0
 def _process_assignment(self, assign):
     update_reviewing_roles(self.event, self.users, self.contributions, self.role, assign)
     if assign:
         flash(_("Paper reviewing roles have been assigned."), 'success')
     else:
         flash(_("Paper reviewing roles have been unassigned."), 'success')
     return jsonify_data(**self.list_generator.render_list())
Ejemplo n.º 2
0
 def _process_assignment(self, assign):
     update_reviewing_roles(self.event, self.users, self.contributions, self.role, assign)
     if assign:
         flash(_("Paper reviewing roles have been assigned."), 'success')
     else:
         flash(_("Paper reviewing roles have been unassigned."), 'success')
     return jsonify_data(**self.list_generator.render_list())