<% unless @events_by_day.empty? %>
<% @events_by_day.keys.sort.reverse.each do |day| %> <% @events_by_day[day].sort {|x,y| y.event_datetime <=> x.event_datetime }.each do |e| -%> <% end %>
<%= content_tag('span', h(e.project), :class => 'project') %> 有了最新动态 <%= link_to format_activity_title(e.event_title), e.event_url %>

<%= format_activity_description(e.event_description) %>

<%= format_activity_day(day) %>
<% end %>
<% end %>