#1619 作业未提交附件时增加提示
This commit is contained in:
parent
d073cca712
commit
dd78bc25ff
|
@ -98,11 +98,17 @@
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</p>
|
</p>
|
||||||
<p style=" border-bottom:none; color:#333; margin-top:8px;"><strong><%= l(:label_attachment) %>:
|
<p style=" border-bottom:none; color:#333; margin-top:8px;">
|
||||||
|
<strong>
|
||||||
|
<%= l(:label_attachment) %>:
|
||||||
</strong>
|
</strong>
|
||||||
<span>
|
<span>
|
||||||
<% options = {:author => true } %>
|
<% if @homework.attachments.empty?%>
|
||||||
<%= render :partial => 'app_link', :locals => {:attachments => @homework.attachments, :options => options} %>
|
<span style="color: #999999">尚未提交附件</span>
|
||||||
|
<% else%>
|
||||||
|
<% options = {:author => true } %>
|
||||||
|
<%= render :partial => 'app_link', :locals => {:attachments => @homework.attachments, :options => options} %>
|
||||||
|
<% end%>
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue