分组作业评分弹框打开,”大作品评分即组长的评分“提示显示

This commit is contained in:
Tim 2016-10-25 14:10:52 +08:00
parent fefc1bf800
commit 46fa91b6e9
2 changed files with 2 additions and 4 deletions

View File

@ -79,9 +79,7 @@
<script type="text/javascript">
$(".student_work_<%= st.id%>").mouseenter(function(){
if($("#about_hwork_<%= st.id%>").html().trim() == "") {
$("#work_click_<%= st.id%>").show();
}
$("#work_click_<%= st.id%>").show();
}).mouseleave(function(){
$("#work_click_<%= st.id%>").hide();
}).mouse;

View File

@ -2,7 +2,7 @@
<span class="c_dark f14 fb fl mr15">
作品
<font class="f12 c_red">
(<span id="student_work_count"><%= @student_work_count%></span>已交)
(<span id="student_work_count"><%= @student_work_count%></span>已交)
</font>
<%# my_work = @homework.student_works.where("user_id = #{User.current.id}").first %>
<% my_work = cur_user_works_for_homework @homework %>