项目里面无活动显示

This commit is contained in:
huangjingquan 2013-08-12 23:29:03 +08:00
parent 8309be475a
commit 63a1c21b3d
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,7 @@
</table></li></ul></div>
<div class=more><%= link_to"更多",:contoller=>'project',:action=>'index'%></div>-->
<!--activities add bu huang-->
<% if @events_by_day.size >0 %>
<div style="padding-left: 8px">
<h3><%= @author.nil? ? l(:label_activity) : l(:label_user_activity, link_to_user(@author)).html_safe %></h3>
<p class="subtitle">
@ -50,6 +51,9 @@
</div>
</div>
</div>
<% else %>
该项目暂无动态!
<% end %>