socialforge/app/views/student_work/_evaluation_title.html.erb

42 lines
1.6 KiB
Plaintext
Raw Normal View History

2016-05-20 15:15:42 +08:00
<table class="hwork-table-wrap">
<tr class="b_grey hworkH30" style="border-bottom:1px solid #eaeaea;">
<th class="hworkList30 hworkH30 pl5 pr5">序号</th>
<th class="hworkList50">&nbsp;</th>
<% if @homework.homework_type != 3 %>
2016-05-27 14:42:12 +08:00
<th class="hworkList260" style="text-align:left;">作品名称</th>
2016-05-20 15:15:42 +08:00
<th class="hworkList80">
<span class="HomeworkStuTitle f14 fb fl">姓名</span>
</th>
<th class="hworkList80">
<span class="HomeworkStuTitle f14 fb fl">学号</span>
</th>
<% elsif @homework.homework_type == 3 && @homework.homework_detail_group.base_on_project == 1 %>
2016-05-27 14:42:12 +08:00
<th class="hworkList260" style="text-align:left;">作品名称</th>
2016-05-20 15:15:42 +08:00
<th class="hworkList160">
<span class="HomeworkStuTitle f14 fb fl">关联项目</span>
</th>
2016-05-27 14:42:12 +08:00
<% elsif @homework.homework_type == 3 && @homework.homework_detail_group.base_on_project == 0 %>
<th class="hworkList420" style="text-align:left;">作品名称</th>
<% end %>
2016-05-20 15:15:42 +08:00
<th class="hworkList130 pl10">
时间
</th>
<% if @homework.homework_type == 2%>
<th class="hworkList50">
系统
</th>
<% end%>
2016-05-20 21:47:31 +08:00
<th class="hworkList50 pr10 pl10" style="font-size:12px;">
2016-05-20 15:15:42 +08:00
我的评分
</th>
</tr>
<% @stundet_works.each_with_index do |student_work, i|%>
<%= render :partial => "evaluation_work", :locals => {:student_work => student_work, :index => i}%>
<tr>
<td colspan="12">
<div id="about_hwork_<%= student_work.id%>">
</div>
</td>
</tr>
<% end%>
2016-05-20 15:15:42 +08:00
</table>