<% unless @events_by_day.empty? %>
<% @events_by_day_.each do |e| %>
<%= link_to image_tag(url_to_avatar(e.event_author), :class => "avatar"), user_path(e.event_author), :class => "avatar" %> <% if e.event_author == User.current%> <% else %> <% end %>
<%= link_to("#{l(:label_i)}", user_path(e.event_author)) %><%= l(:label_new_activity) %> <%= link_to format_activity_title(e.event_title), e.event_url %> <%= link_to(h(e.event_author), user_path(e.event_author)) %><%= l(:label_new_activity) %> <%= link_to format_activity_title(e.event_title), e.event_url %>

<%= textilizable e.event_description %>

<%= format_time(e.event_datetime) %>
<% end %>
<% end %>