Merge pull request '调整PR检测列表的展示' (#96) from KingChan/forgeplus:pr_detection into standalone_develop
This commit is contained in:
commit
26094679e4
|
@ -1,8 +1,9 @@
|
|||
<table class="table table-hover glcc_pr_check-list-table">
|
||||
<thead class="thead-light">
|
||||
<tr>
|
||||
<th width="4%">序号</th>
|
||||
<th width="8%" class="text-left">昵称</th>
|
||||
<th width="3%">序号</th>
|
||||
<th width="5%" class="text-left">昵称</th>
|
||||
<th width="5%" class="text-left">课题ID</th>
|
||||
<th width="13%">邮件地址</th>
|
||||
<th width="6%">视频地址</th>
|
||||
<th width="6%">PR地址</th>
|
||||
|
@ -14,17 +15,18 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<% if examine_materials.present? %>
|
||||
<% examine_materials.each_with_index do |user, index| %>
|
||||
<tr class="user-item-<%= user.id %>">
|
||||
<% examine_materials.each_with_index do |material, index| %>
|
||||
<tr class="user-item-<%= material.id %>">
|
||||
<td><%= list_index_no((params[:page] || 1).to_i, index) %></td>
|
||||
<td><%= user.glcc_student.student_name %></td>
|
||||
<td><%= user.glcc_student.mail %></td>
|
||||
<td><a target="_blank" href="<%= user.defence_video_url %>"> 查看视频 </a></></td>
|
||||
<td><a target="_blank" href="<%= user.code_or_pr_url %>"> 查看PR </a></></td>
|
||||
<td><%= user.term == 1 ? "中期考核" : "结项考核"%></td>
|
||||
<td><%= user.white_list ? "是":"否" %></td>
|
||||
<td><%= user.state_to_html.html_safe %></td>
|
||||
<td><%= user.created_on.strftime("%Y-%m-%d %H:%M")%></td>
|
||||
<td><%= material.glcc_student.student_name %></td>
|
||||
<td><%= material.task_id %></td>
|
||||
<td><%= material.glcc_student.mail %></td>
|
||||
<td><a target="_blank" href="<%= material.defence_video_url %>"> 查看视频 </a></></td>
|
||||
<td><a target="_blank" href="<%= material.code_or_pr_url %>"> 查看PR </a></></td>
|
||||
<td><%= material.term == 1 ? "中期考核" : "结项考核"%></td>
|
||||
<td><%= material.white_list ? "是":"否" %></td>
|
||||
<td><%= material.state_to_html.html_safe %></td>
|
||||
<td><%= material.created_on.strftime("%Y-%m-%d %H:%M")%></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<% else %>
|
||||
|
|
Loading…
Reference in New Issue