You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
516 B
22 lines
516 B
json.images_url @images_url
|
|
|
|
json.reps @rep_list
|
|
|
|
json.shixuns do
|
|
json.partial! 'shixuns/shixun', locals: {shixuns: @shixuns.present? ? @shixuns : @main_shixuns}
|
|
end
|
|
|
|
json.subjects do
|
|
json.partial! 'subjects/subject', locals: {subjects: @subjects.present? ? @subjects : @main_subjects}
|
|
end
|
|
|
|
if current_laboratory.main_site?
|
|
json.teachers do
|
|
json.partial! 'users/user_small', users: @tea_users
|
|
end
|
|
|
|
json.students do
|
|
json.partial! 'users/user_small', users: @stu_users
|
|
end
|
|
end
|