diff --git a/app/views/homework_attach/_review.html.erb b/app/views/homework_attach/_review.html.erb index 9c7d9d82c..876980168 100644 --- a/app/views/homework_attach/_review.html.erb +++ b/app/views/homework_attach/_review.html.erb @@ -42,9 +42,8 @@
<% 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 %>
diff --git a/public/stylesheets/css.css b/public/stylesheets/css.css index 9bda2b7eb..3ef981910 100644 --- a/public/stylesheets/css.css +++ b/public/stylesheets/css.css @@ -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; }