修改了新闻页面两个图像重复bug
This commit is contained in:
parent
09eb16ad9a
commit
fb54fcbe86
|
@ -54,7 +54,7 @@
|
|||
</p>
|
||||
<% else %>
|
||||
<% @newss.each do |news| %>
|
||||
<td colspan="2" valign="top" width="50" ><%= image_tag(url_to_avatar(news.author), :class => "avatar") %></td>
|
||||
|
||||
<td><table width="580px" border="0">
|
||||
<td colspan="2" valign="top" width="50" ><%= link_to image_tag(url_to_avatar(news.author), :class => "avatar"), user_path(news.author) %></td>
|
||||
<td>
|
||||
|
|
Loading…
Reference in New Issue