diff --git a/app/views/users/_user_tiddings_list.erb b/app/views/users/_user_tiddings_list.erb index 4795fc6e..530d84b1 100644 --- a/app/views/users/_user_tiddings_list.erb +++ b/app/views/users/_user_tiddings_list.erb @@ -2,7 +2,8 @@ <% @tids.each do |tids| %> <% Rails.logger.info("------------------------tid_id---#{tids.id}") %>
-
+ +
<% system = tids.tiding_type == "System" %> <% trigger_user = tids.user %> <% eval_user = (tids.container_type == "StudentWorksScore" && tids.extra == "3") || (tids.container_type == "StudentWorksScoresAppeal" && tids.parent_container_type == "StudentWork" && tids.tiding_type == "HomeworkCommon") || (tids.container_type == "JournalsForMessage" && tids.tiding_type != "Mentioned" && tids.parent_container_type == "StudentWorksScore" && tids.container.jour.try(:reviewer_role) == 3 && !trigger_user.allowed_to?(:as_teacher, tids.container.jour.student_work.homework_common.course)) %>