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

41 lines
1.7 KiB
Plaintext
Raw Normal View History

2016-06-08 11:28:20 +08:00
<table class="hwork-table-wrap" id="homework_table">
2016-06-01 16:09:01 +08:00
<tr class="b_grey hworkH30">
2016-07-08 13:17:14 +08:00
<th class="hworkList40 hworkH30 pl5 pr5">序号</th>
2016-05-20 15:15:42 +08:00
<th class="hworkList50">&nbsp;</th>
<% if @homework.homework_type != 3 %>
2016-07-08 13:17:14 +08:00
<th class="<%= @homework.homework_type == 2 ? 'hworkList160' : 'hworkList200' %> hide-text">
2016-06-07 15:30:17 +08:00
<span class="HomeworkStuTitle f14 fb">姓名</span>
2016-05-20 15:15:42 +08:00
</th>
2016-07-08 13:17:14 +08:00
<th class="<%= @homework.homework_type == 2 ? 'hworkList160' : 'hworkList190' %> hide-text">
2016-06-07 15:30:17 +08:00
<span class="HomeworkStuTitle f14 fb">学号</span>
2016-05-20 15:15:42 +08:00
</th>
<% elsif @homework.homework_type == 3 && @homework.homework_detail_group.base_on_project == 1 %>
2016-07-08 13:17:14 +08:00
<th class="hworkList230" 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 %>
2016-07-08 13:17:14 +08:00
<th class="hworkList390" style="text-align:left;">组长</th>
<% end %>
2016-05-20 15:15:42 +08:00
<th class="hworkList130 pl10">
2016-07-08 13:17:14 +08:00
状态
2016-05-20 15:15:42 +08:00
</th>
<% if @homework.homework_type == 2%>
2016-07-08 13:17:14 +08:00
<th class="hworkList70">
2016-05-20 15:15:42 +08:00
系统
</th>
<% end%>
2016-07-08 13:17:14 +08:00
<th class="hworkList70 pr10 pl10" style="font-size:12px;">
2016-05-20 15:15:42 +08:00
我的评分
</th>
</tr>
2016-09-14 17:36:20 +08:00
<% @stundet_works.each_with_index do |student_work, i|%>
2016-05-20 15:15:42 +08:00
<%= render :partial => "evaluation_work", :locals => {:student_work => student_work, :index => i}%>
<tr>
<td colspan="12">
<div id="about_hwork_<%= student_work.id%>" class="about_hwork">
2016-05-20 15:15:42 +08:00
</div>
</td>
</tr>
<% end%>
2016-05-20 15:15:42 +08:00
</table>