课程动态为空判断

competition
chenmin 11 years ago
parent 78343effaf
commit d087c52314

@ -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">
<!-- <h3><%= @author.nil? ? l(:label_activity) : l(:label_user_activity, link_to_user(@author)).html_safe %></h3> -->
<p class="subtitle">

Loading…
Cancel
Save