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

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