修改作业评价上传附件功能500

作业标题换行
This commit is contained in:
sw 2015-04-28 14:37:25 +08:00
parent 2d7e4278ad
commit 4c3013f1ac
2 changed files with 2 additions and 3 deletions

View File

@ -42,9 +42,8 @@
<div class="cl"></div>
<% unless jour.nil? %>
<% unless jour.attachments.empty?%>
<% options = {:author => true, :deletable => attach_delete(jour)} %>
<%= render :partial => 'attachments/homework_jour_link',
:locals => {:attachments => jour.attachments, :options => options} %>
:locals => {:attachments => jour.attachments} %>
<% end %>
<div class="cl"></div>

View File

@ -80,7 +80,7 @@ a.wzan_visited{background:url(images/pic_zan.png) 0 0 no-repeat;}
.alert .close{width:26px;height:26px;overflow:hidden;position:absolute;top:-10px;right:-502px;background:url(images/close.png) no-repeat;cursor:pointer;}
.alert .C{width:476px;height:296px;position:absolute;left:5px;top:5px; }
.ping_con{ margin:5px; border-bottom:1px dashed #CCC; padding-bottom:5px;}
.ping_con{ margin:5px; border-bottom:1px dashed #CCC; padding-bottom:5px;word-break: break-all;word-wrap: break-word;}
.ping_con ul{ height:30px;}
.ping_con ul li{ float:left; color:#656767; font-weight:bold;}
.ping_con h2{ font-size:14px; color:#444443; margin-bottom:10px; }