コード例 #1
0
def get_slots_to_interviewers(rc_id):
    slots_to_interviewers = {}

    interviewers = interviewers_db.get_interviewers(rc_id)

    for interviewer in interviewers:
        for slot in interviewer.availabilities:
            if slot not in slots_to_interviewers:
                slots_to_interviewers[slot] = []

            slots_to_interviewers[slot].append(interviewer.name)

    return slots_to_interviewers
コード例 #2
0
def get_slots_to_interviewers(rc_id):
    slots_to_interviewers = {}

    interviewers = interviewers_db.get_interviewers(rc_id)

    for interviewer in interviewers:
        for slot in interviewer.availabilities:
            if slot not in slots_to_interviewers:
                slots_to_interviewers[slot] = []

            slots_to_interviewers[slot].append(interviewer.name)

    return slots_to_interviewers
コード例 #3
0
def get_rc_page(rc_id):
    interviewers = interviewers_db.get_interviewers(rc_id)
    interviewees = interviewees_db.get_interviewees(rc_id)
    return render_template('recruiting_cycle.html', interviewers=interviewers,
                            interviewees=interviewees, rc_id=rc_id)