课程通知、个人动态 大图片超出页面
This commit is contained in:
parent
600003e48c
commit
f0ba408a10
|
@ -26,7 +26,7 @@
|
||||||
</p>
|
</p>
|
||||||
<% else %>
|
<% else %>
|
||||||
<% @newss.each do |news| %>
|
<% @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" %>
|
<%= 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">
|
<div class="problem_txt fl mt5">
|
||||||
<%= link_to_user_header(news.author,false,{:class=> 'problem_name c_orange fl'}) if news.respond_to?(:author) %>
|
<%= link_to_user_header(news.author,false,{:class=> 'problem_name c_orange fl'}) if news.respond_to?(:author) %>
|
||||||
|
|
|
@ -97,7 +97,7 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" width="580">
|
<td colspan="2" width="580" class="upload_img">
|
||||||
<p class="font_description">
|
<p class="font_description">
|
||||||
<%= textAreailizable act.notes %>
|
<%= textAreailizable act.notes %>
|
||||||
</p>
|
</p>
|
||||||
|
@ -167,7 +167,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" width="580">
|
<td colspan="2" width="580" class="upload_img">
|
||||||
<p class="font_description">
|
<p class="font_description">
|
||||||
<%=textAreailizable act, :description %>
|
<%=textAreailizable act, :description %>
|
||||||
</p></td>
|
</p></td>
|
||||||
|
@ -227,7 +227,7 @@
|
||||||
<% else %>
|
<% else %>
|
||||||
<% desStr= textAreailizable(act, :notes) %>
|
<% desStr= textAreailizable(act, :notes) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<td colspan="2" width="580">
|
<td colspan="2" width="580" class="upload_img">
|
||||||
<p class="font_description">
|
<p class="font_description">
|
||||||
<%= desStr %>
|
<%= desStr %>
|
||||||
</p>
|
</p>
|
||||||
|
@ -282,7 +282,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" width="580">
|
<td colspan="2" width="580" class="upload_img">
|
||||||
<p class="font_description">
|
<p class="font_description">
|
||||||
<%= textAreailizable act,:long_comments %>
|
<%= textAreailizable act,:long_comments %>
|
||||||
</p>
|
</p>
|
||||||
|
@ -344,7 +344,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" width="580">
|
<td colspan="2" width="580" class="upload_img">
|
||||||
<p class="font_description">
|
<p class="font_description">
|
||||||
<%= textAreailizable(act,:content) %>
|
<%= textAreailizable(act,:content) %>
|
||||||
</p>
|
</p>
|
||||||
|
@ -385,7 +385,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" width="580">
|
<td colspan="2" width="580" class="upload_img">
|
||||||
<p class="font_description"></p>
|
<p class="font_description"></p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -428,7 +428,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" width="580">
|
<td colspan="2" width="580" class="upload_img">
|
||||||
<p class="font_description">
|
<p class="font_description">
|
||||||
<%= textAreailizable act,:description %>
|
<%= textAreailizable act,:description %>
|
||||||
</p>
|
</p>
|
||||||
|
@ -559,7 +559,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" width="580">
|
<td colspan="2" width="580" class="upload_img">
|
||||||
<p class="font_description">
|
<p class="font_description">
|
||||||
<%= textAreailizable act, :description %>
|
<%= textAreailizable act, :description %>
|
||||||
</p>
|
</p>
|
||||||
|
@ -633,7 +633,7 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" width="580">
|
<td colspan="2" width="580" class="upload_img">
|
||||||
<p class="font_description">
|
<p class="font_description">
|
||||||
<%= textAreailizable e.notes %>
|
<%= textAreailizable e.notes %>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue