49 lines
1.6 KiB
Plaintext
49 lines
1.6 KiB
Plaintext
<div class="show_hwork_arrow"></div>
|
|
<div class="show_hwork">
|
|
<ul>
|
|
<li >
|
|
<span class="tit_fb">上交时间:</span>
|
|
<%=format_time @work.created_at %>
|
|
</li>
|
|
<!--<li >-->
|
|
<!--<span class="tit_fb"> 参与人员:</span>-->
|
|
<!--程梦雯 王强-->
|
|
<!--</li>-->
|
|
<% if @work.project%>
|
|
<li >
|
|
<span class="tit_fb"> 关联项目:</span>
|
|
<%= link_to( @work.project.name, project_path(@work.project.id), :class => "c_blue02" )%>
|
|
</li>
|
|
<% end%>
|
|
<li >
|
|
<span class="tit_fb ">内容:</span>
|
|
<p class="show_hwork_p">
|
|
<%= @work.description%>
|
|
</p>
|
|
<div class="cl"></div>
|
|
</li>
|
|
<li >
|
|
<span class="tit_fb"> 附件:</span>
|
|
<% if @work.attachments.empty?%>
|
|
<span style="color: #999999">尚未提交附件</span>
|
|
<% else%>
|
|
<%= render :partial => 'work_attachments', :locals => {:attachments => @work.attachments} %>
|
|
<% end%>
|
|
</li>
|
|
<div class="cl"></div>
|
|
|
|
<div id="add_student_score_<%= @work.id%>">
|
|
<%= render :partial => 'add_score',:locals => {:work => @work,:score => @score}%>
|
|
</div>
|
|
</ul>
|
|
|
|
<div class="ping_box" id="score_list_<%= @work.id%>">
|
|
<%@work.student_works_scores.order("created_at desc").each do |score|%>
|
|
<div id="work_score_<%= score.id%>">
|
|
<%= render :partial => 'student_work_score',:locals => {:score => score}%>
|
|
</div>
|
|
<% end%>
|
|
</div><!---ping_box end--->
|
|
<a href="javascript:void(0);" class="fr c_blue mt5 mb5" onclick="$('#about_hwork_<%= @work.id%>').html('');">收起</a>
|
|
<div class="cl"></div>
|
|
</div><!---show_hwork end---> |