commit
88379e4c1a
@ -0,0 +1 @@
|
||||
$("#laboratory-item-<%= @laboratory.id %>").html("<%= j render partial: 'admins/laboratories/shared/laboratory_item', locals: {laboratory: @laboratory} %>")
|
@ -0,0 +1,12 @@
|
||||
json.students do
|
||||
json.array! @students do |student|
|
||||
json.user_id student.user_id
|
||||
json.login student.user.try(:login)
|
||||
json.name student.user.try(:real_name)
|
||||
json.student_id student.user.try(:student_id)
|
||||
json.course_member_id student.id
|
||||
json.user_phone @course.excellent ? "" : student.user.hidden_phone
|
||||
json.image_url url_to_avatar(student.user)
|
||||
end
|
||||
end
|
||||
json.students_count @students_count
|
@ -1,5 +0,0 @@
|
||||
class AddCloseBrowserTimeForGames < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :games, :close_browse_time, :timestamp
|
||||
end
|
||||
end
|
@ -0,0 +1,6 @@
|
||||
class AddCloseBrowserTimeForGames < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :games, :play_time, :timestamp
|
||||
add_column :games, :play_sign, :integer, :default => 0
|
||||
end
|
||||
end
|
@ -0,0 +1,5 @@
|
||||
class AddSyncCourseToLaboratorySettings < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :laboratories, :sync_course, :boolean, default: 0
|
||||
end
|
||||
end
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in new issue