分组作业报500
This commit is contained in:
parent
1674391e4b
commit
1d2b6165ef
|
@ -55,7 +55,7 @@
|
|||
<% end %>
|
||||
<div class="cl"></div>
|
||||
<span class="fl fontGrey2" id="relate_project_show">
|
||||
<% if @homework %>
|
||||
<% if @homework && @homework.homework_type == 3 && @homework.homework_detail_group.base_on_project == 1 %>
|
||||
<% unless @homework.student_work_projects.where("user_id = #{User.current.id}").empty? %>
|
||||
<% project = Project.find @homework.student_work_projects.where("user_id = #{User.current.id}").first.project_id %>
|
||||
关联项目:<%=project.name %>
|
||||
|
|
Loading…
Reference in New Issue