Merge pull request '调整Admin Pr检测显示界面' (#102) from KingChan/forgeplus:pr_detection into standalone_develop

This commit is contained in:
KingChan 2023-08-16 11:32:01 +08:00
commit 153c8aebed
1 changed files with 17 additions and 5 deletions

View File

@ -2,8 +2,8 @@
<thead class="thead-light">
<tr>
<th width="2%">序号</th>
<th width="3%" class="text-left">学生姓名</th>
<th width="2%" class="text-left">课题ID</th>
<th width="5%" class="text-left">学生姓名</th>
<th width="5%" class="text-left">课题ID</th>
<th width="8%" class="text-left">课题名称</th>
<th width="10%">邮件地址</th>
<th width="15%">视频地址</th>
@ -23,11 +23,23 @@
<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 %>"> <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>
<span class="d-inline-block" tabindex="0" data-toggle="tooltip" data-placement="left" title="<%= material.defence_video_url%>">
<a href="javascript:">
<%= material.defence_video_url.nil? ? "" : material.defence_video_url.truncate(50) %>
</a>
</span>
</td>
<td>
<span class="d-inline-block" tabindex="0" data-toggle="tooltip" data-placement="left" title="<%= material.code_or_pr_url%>">
<a href="javascript:">
<%= material.code_or_pr_url.nil? ? "" : material.code_or_pr_url.truncate(50) %>
</a>
</span>
</td>
<td><%= material.term == 1 ? "中期考核" : "结项考核"%></td>
<td><%= material.white_list ? "是":"否" %></td>
<td><%= material.state_to_html.blank? ? "通过" : material.state_to_html.html_safe %></td>
<td><%= material.state_to_html.blank?&&!material.white_list ? "通过" : material.state_to_html.html_safe %></td>
<td><%= material.created_on.strftime("%Y-%m-%d %H:%M")%></td>
</tr>
<% end %>