<% slice.each do |event| %>
<% if (sub_events(event)).empty? %>
<%= render '/partials/_tile.*',
article: event,
small_text: event[:time].strftime('%A %d %B %Y %H:%M'),
htmlclass:"highlighted" %>
<% else %>
<% sub_events(event).each do |sub_event| %>
<%= render '/partials/_event_preview.*', event: sub_event, main_event: event %>
<% end %>
<% end %>
<% end %>