课程动态为空判断
This commit is contained in:
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">
|
<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">
|
||||||
|
|
Loading…
Reference in New Issue