Merge pull request '调整PR检测页面显示内容' (#101) from KingChan/forgeplus:pr_detection into standalone_develop

This commit is contained in:
KingChan
2023-08-16 11:03:14 +08:00
3 changed files with 42 additions and 16 deletions

View File

@@ -1,16 +1,17 @@
<table class="table table-hover glcc_pr_check-list-table">
<thead class="thead-light">
<tr>
<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>
<th width="5%">考核阶段</th>
<th width="5%">白名单</th>
<th width="14%">检测状态</th>
<th width="14%">提交时间</th></th>
<th width="2%">序号</th>
<th width="3%" class="text-left">学生姓名</th>
<th width="2%" class="text-left">课题ID</th>
<th width="8%" class="text-left">课题名称</th>
<th width="10%">邮件地址</th>
<th width="15%">视频地址</th>
<th width="15%">PR地址</th>
<th width="3%">考核阶段</th>
<th width="2%">白名单</th>
<th width="10%">检测状态</th>
<th width="6%">提交时间</th></th>
</tr>
</thead>
<tbody>
@@ -20,12 +21,13 @@
<td><%= list_index_no((params[:page] || 1).to_i, index) %></td>
<td><%= material.glcc_student.student_name %></td>
<td><%= material.task_id %></td>
<td><%= material.task.task_name %></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><a target="_blank" href="<%= material.defence_video_url %>"> <p><%= material.defence_video_url.to_s %></p> </a></td>
<td><a target="_blank" href="<%= material.code_or_pr_url %>"> <p><%= material.code_or_pr_url.to_s %></p> </a></td>
<td><%= material.term == 1 ? "中期考核" : "结项考核"%></td>
<td><%= material.white_list ? "是":"否" %></td>
<td><%= material.state_to_html.html_safe %></td>
<td><%= material.state_to_html.blank? ? "通过" : material.state_to_html.html_safe %></td>
<td><%= material.created_on.strftime("%Y-%m-%d %H:%M")%></td>
</tr>
<% end %>