def admin_show_hours(student_id, semester_id): return render_template('admin/hours.html', student = model.getStudent(student_id), semester = model.getSemester(semester_id), entries = model.listHourEntries(student_id, semester_id), hours = model.getTotalHours(student_id, semester_id), reflection = model.getReflection(student_id, semester_id))
def show_reflection(id): return render_template('reflection.html', student = model.getStudent(g.user_id), semester = model.getSemester(int(id)), reflection = model.getReflection(g.user_id, int(id)))