|
|
@ -65,7 +65,7 @@ module HomeworkCommonsHelper
|
|
|
|
|
|
|
|
|
|
|
|
# 作业统一设置、游客身份、超级管理员、分班权限不限的老师身份
|
|
|
|
# 作业统一设置、游客身份、超级管理员、分班权限不限的老师身份
|
|
|
|
if homework_common.unified_setting || identity > Course::STUDENT || identity == Course::ADMIN ||
|
|
|
|
if homework_common.unified_setting || identity > Course::STUDENT || identity == Course::ADMIN ||
|
|
|
|
(identity < Course::STUDENT && teacher_course_groups.size == 0)
|
|
|
|
(identity < Course::STUDENT && teacher_course_groups.blank?)
|
|
|
|
case ho_detail_manual.comment_status
|
|
|
|
case ho_detail_manual.comment_status
|
|
|
|
when 0
|
|
|
|
when 0
|
|
|
|
status << "未发布"
|
|
|
|
status << "未发布"
|
|
|
|