修复500
This commit is contained in:
parent
18cd52a0bb
commit
a43167c6cf
|
@ -58,7 +58,7 @@ module StudentWorkHelper
|
|||
|
||||
def get_status status, re_commit
|
||||
str = ""
|
||||
if re_commit
|
||||
if !re_commit.nil?
|
||||
str = "重新提交"
|
||||
else
|
||||
case status
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<span class="hidden fl" style="max-width:220px;"><%= student_work.name %></span>
|
||||
<span class="fontGrey2 ml5 fl">
|
||||
<% if student_work.work_status %>
|
||||
<%= get_status student_work.work_status, nil %>
|
||||
<%= get_status student_work.work_status, re_commit = nil %>
|
||||
<% end %>
|
||||
</span>
|
||||
</span>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<span class="hidden fl" style="max-width:220px;"><%= student_work.name %></span>
|
||||
<span class="fontGrey2 ml5 fl">
|
||||
<% if student_work.work_status %>
|
||||
<%= get_status student_work.work_status, nil %>
|
||||
<%= get_status student_work.work_status, re_commit = nil %>
|
||||
<% end %>
|
||||
</span>
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue