取消作业截至时间的显示
This commit is contained in:
parent
82233a4b54
commit
4917c63298
|
@ -139,19 +139,6 @@
|
||||||
</strong>
|
</strong>
|
||||||
)
|
)
|
||||||
</span>
|
</span>
|
||||||
<span style="float: right">
|
|
||||||
<% if betweentime(bid.deadline) < 0 %>
|
|
||||||
<span style="color: red; float: right">
|
|
||||||
<%= l(:label_commit_limit)%>
|
|
||||||
</span>
|
|
||||||
<% else %>
|
|
||||||
<script type="text/javascript">
|
|
||||||
window.setInterval(function(){ShowCountDown(<%= bid.deadline.year%>,<%= bid.deadline.month%>,<%= bid.deadline.day + 1%>,"show_deadtime_span_<%= bid.id%>");},1000)
|
|
||||||
</script>
|
|
||||||
<span id="show_deadtime_span_<%= bid.id%>" style="float: right">
|
|
||||||
</span>
|
|
||||||
<% end %>
|
|
||||||
</span>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -191,10 +178,18 @@
|
||||||
<%=format_time bid.created_on %>
|
<%=format_time bid.created_on %>
|
||||||
</span>
|
</span>
|
||||||
<span style="float: right">
|
<span style="float: right">
|
||||||
<%= l(:field_deadline) %>
|
<% if betweentime(bid.deadline) < 0 %>
|
||||||
:
|
<span style="color: red; float: right">
|
||||||
<%=bid.deadline %>
|
<%= l(:label_commit_limit)%>
|
||||||
</span>
|
</span>
|
||||||
|
<% else %>
|
||||||
|
<script type="text/javascript">
|
||||||
|
window.setInterval(function(){ShowCountDown(<%= bid.deadline.year%>,<%= bid.deadline.month%>,<%= bid.deadline.day + 1%>,"show_deadtime_span_<%= bid.id%>");},1000)
|
||||||
|
</script>
|
||||||
|
<span id="show_deadtime_span_<%= bid.id%>" style="float: right">
|
||||||
|
</span>
|
||||||
|
<% end %>
|
||||||
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue