diff --git a/app/views/activities/_list.html.erb b/app/views/activities/_list.html.erb index bb8c03a9b..5a660d354 100644 --- a/app/views/activities/_list.html.erb +++ b/app/views/activities/_list.html.erb @@ -1,9 +1,17 @@ -<% if activities.first_page? && activities.first.created_at.to_date == Date.today %> +<% if activities.first_page? %> + <% if activities.first.created_at.to_date == Date.today %>
  • <%=t "activities.index.today" %>
  • + <% else %> +
  • + + <%= activity-first.created_at.strftime('%d.%m.%Y') %> + +
  • + <% end %> <% end %> <% activities.each_with_index do |activity, index| %> <% prevDate = calculate_previous_date(activities, index, previous_activity_created_at) %>