dev_aliyun
cxt 5 years ago
parent e1ccd48d2f
commit 4b2c8d2163

@ -2,7 +2,8 @@
<% @tids.each do |tids| %>
<% Rails.logger.info("------------------------tid_id---#{tids.id}") %>
<div class="pl25 ridinglist edu-back-white">
<div class="ridinglist-sub clearfix df tiding_item" data-url="<%= tiding_url tids %>">
<!-- <div class="ridinglist-sub clearfix df tiding_item" data-url="<%#= tiding_url tids %>">-->
<div class="ridinglist-sub clearfix df tiding_item">
<% 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)) %>

Loading…
Cancel
Save