예제 #1
0
    def _process(self):
        question_ids = map(int, request.form.getlist('field_ids'))
        if self.review_type == 'layout':
            questions = self.event.cfp.layout_review_questions
        else:
            questions = self.event.cfp.content_review_questions

        sort_reviewing_questions(questions, question_ids)
        return jsonify_data(flash=False)
예제 #2
0
    def _process(self):
        question_ids = map(int, request.form.getlist('field_ids'))
        if self.review_type == 'layout':
            questions = self.event.cfp.layout_review_questions
        else:
            questions = self.event.cfp.content_review_questions

        sort_reviewing_questions(questions, question_ids)
        return jsonify_data(flash=False)
예제 #3
0
 def _process(self):
     question_ids = map(int, request.form.getlist('field_ids'))
     sort_reviewing_questions(self.event.abstract_review_questions,
                              question_ids)
     return jsonify_data(flash=False)
예제 #4
0
파일: management.py 프로젝트: indico/indico
 def _process(self):
     question_ids = map(int, request.form.getlist('field_ids'))
     sort_reviewing_questions(self.event.abstract_review_questions, question_ids)
     return jsonify_data(flash=False)