<% total_count ||= 0 %>
<% if events && events.count > 0 %>
  <dl>
    <% events.each do |event| -%>
      <%= render :partial => 'easy_activities/event', :locals => {:event => event} %>
    <% end %>
  </dl>

  <% if total_count > events.count %>
    <%= link_to l(:label_easy_activity_feed_show_all), easy_events_from_activity_feed_module_path(module_id: module_uid) %>
  <% end %>

<% else -%>
  <%= l(:label_easy_activity_feed_nothing_to_display) %>
<% end %>