<h3><%= l(:label_easy_activity_feed_select_activities)%></h3>
<div class="activity-feed servicebar-content easy-activity-feed">
  <% @events_by_day.keys.sort.reverse.each do |day| %>
      <% if @events_by_day.keys.size > 1 %>
          <h4 class="easy-activity-feed-group-heading"><%= format_activity_day(day) %></h4>
      <% end %>
      <dl class="easy-activity-feed-activity-event">
        <% sort_activity_events(@events_by_day[day]).each do |e, in_group| -%>
            <%= render :partial => 'easy_activities/grouped_event', :locals => {:e => e, :in_group => in_group} %>
        <% end -%>
      </dl>
  <% end -%>
</div>
<div class="servicebar-actions">
  <%= link_to l(:label_easy_activity_feed_show_all), easy_events_from_activity_feed_module_path(defaults: '1'), :class => 'button' %>
  <%= link_to l(:label_easy_activity_feed_discart_all), easy_discart_all_events_path, remote: true, data: {confirm: l(:text_are_you_sure)}, method: :delete, :class => 'button' %>
</div>