课程动态为空判断

This commit is contained in:
chenmin 2014-08-07 16:20:46 +08:00
parent 78343effaf
commit d087c52314
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<% if @events_by_day.size >0 %> <% if @events_by_day != nil && @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">