消息的调整

dev_ec
cxt 5 years ago
parent b6da84590c
commit 0cb186a0f6

@ -334,7 +334,7 @@ class StudentWorksController < ApplicationController
@work.update_attributes(update_time: Time.now)
# 补交附件时给评阅过作品的教师、助教发消息
unless @work.student_works_scores.where.not(score: nil).where(reviewer_role: [1, 2]).pluck(user_id).uniq.blank?
unless @work.student_works_scores.where.not(score: nil).where(reviewer_role: [1, 2]).pluck(:user_id).uniq.blank?
ResubmitStudentWorkNotifyJob.perform_later(@homework.id, [current_user.id])
end

@ -135,7 +135,7 @@ module TidingDecorator
end
def delete_course_content
I18n.t(locale_format) % container.name
I18n.t(locale_format) % belong_container.name
end
def delete_course_member_content

Loading…
Cancel
Save