项目中添加动态后依然能显示项目创建的动态

This commit is contained in:
alan 2014-04-17 16:50:36 +08:00
parent 9206a30bd4
commit 7c8ecd1944
1 changed files with 22 additions and 18 deletions

View File

@ -1,4 +1,4 @@
<% if @events_by_day.size >0 %>
<div class="content-title-top-avtive">
<!-- <h3><%= @author.nil? ? l(:label_activity) : l(:label_user_activity, link_to_user(@author)).html_safe %></h3> -->
<p class="subtitle">
@ -43,14 +43,9 @@
<% end %>
</div>
<% end -%>
<div class="pagination">
<ul>
<%= pagination_links_full @events_pages%>
</ul>
</div>
</div>
<% else %>
<div class="font_description">
<!-- modified by Long Jun -->
<div>
<table width="660">
<tr>
<td><%= image_tag(url_to_avatar(@user), :class => "avatar") %></td>
@ -65,4 +60,13 @@
</tr>
</table>
</div>
<% end %>
<div class="pagination">
<ul>
<%= pagination_links_full @events_pages%>
</ul>
</div>
</div>