|
|
@ -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>
|
|
|
|
|
|
|
|
<% if @homework.attachments.empty?%>
|
|
|
|
|
|
|
|
<span style="color: #999999">尚未提交附件</span>
|
|
|
|
|
|
|
|
<% else%>
|
|
|
|
<% options = {:author => true } %>
|
|
|
|
<% options = {:author => true } %>
|
|
|
|
<%= render :partial => 'app_link', :locals => {:attachments => @homework.attachments, :options => options} %>
|
|
|
|
<%= render :partial => 'app_link', :locals => {:attachments => @homework.attachments, :options => options} %>
|
|
|
|
|
|
|
|
<% end%>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|