课程通知、个人动态 大图片超出页面

This commit is contained in:
sw 2015-04-10 16:14:19 +08:00
parent 600003e48c
commit f0ba408a10
2 changed files with 10 additions and 10 deletions

View File

@ -26,7 +26,7 @@
</p>
<% else %>
<% @newss.each do |news| %>
<div class="problem_main">
<div class="problem_main upload_img">
<%= link_to image_tag(url_to_avatar(news.author),:width => 42,:height => 42), user_path(news.author), :class => "problem_pic fl" %>
<div class="problem_txt fl mt5">
<%= link_to_user_header(news.author,false,{:class=> 'problem_name c_orange fl'}) if news.respond_to?(:author) %>

View File

@ -97,7 +97,7 @@
</td>
</tr>
<tr>
<td colspan="2" width="580">
<td colspan="2" width="580" class="upload_img">
<p class="font_description">
<%= textAreailizable act.notes %>
</p>
@ -167,7 +167,7 @@
<% end %>
</tr>
<tr>
<td colspan="2" width="580">
<td colspan="2" width="580" class="upload_img">
<p class="font_description">
<%=textAreailizable act, :description %>
</p></td>
@ -227,7 +227,7 @@
<% else %>
<% desStr= textAreailizable(act, :notes) %>
<% end %>
<td colspan="2" width="580">
<td colspan="2" width="580" class="upload_img">
<p class="font_description">
<%= desStr %>
</p>
@ -282,7 +282,7 @@
<% end %>
</tr>
<tr>
<td colspan="2" width="580">
<td colspan="2" width="580" class="upload_img">
<p class="font_description">
<%= textAreailizable act,:long_comments %>
</p>
@ -344,7 +344,7 @@
<% end %>
</tr>
<tr>
<td colspan="2" width="580">
<td colspan="2" width="580" class="upload_img">
<p class="font_description">
<%= textAreailizable(act,:content) %>
</p>
@ -385,7 +385,7 @@
<% end %>
</tr>
<tr>
<td colspan="2" width="580">
<td colspan="2" width="580" class="upload_img">
<p class="font_description"></p>
</td>
</tr>
@ -428,7 +428,7 @@
<% end %>
</tr>
<tr>
<td colspan="2" width="580">
<td colspan="2" width="580" class="upload_img">
<p class="font_description">
<%= textAreailizable act,:description %>
</p>
@ -559,7 +559,7 @@
<% end %>
</tr>
<tr>
<td colspan="2" width="580">
<td colspan="2" width="580" class="upload_img">
<p class="font_description">
<%= textAreailizable act, :description %>
</p>
@ -633,7 +633,7 @@
</td>
</tr>
<tr>
<td colspan="2" width="580">
<td colspan="2" width="580" class="upload_img">
<p class="font_description">
<%= textAreailizable e.notes %>
</p>