--- navigable: true title: Events order: 20 ---

Upcoming events

<% upcoming_events.each_slice(2) do |slice| %>
<% slice.each do |event| %> <% if (sub_events(event)).empty? %>
<%= render '/partials/_events_tile.*', article: event, small_text: event[:time].strftime('%A %d %B %Y %H:%M'), location: event[:location], htmlclass: event[:banner].nil? ? "" : "highlighted", color: event[:color] %>
<% end %>
<% end %>

Past events

<% past_events.each_slice(2) do |slice| %>
<% slice.each do |event| %> <% if (sub_events(event)).empty? %>
<%= render '/partials/_events_tile.*', article: event, small_text: event[:time].strftime('%A %d %B %Y %H:%M'), location: event[:location], htmlclass: event[:banner].nil? ? "" : "highlighted", color: event[:color] %>
<% end %>
<%end%>