2016-08-24 01:01:17 +02:00
|
|
|
---
|
|
|
|
navigable: true
|
|
|
|
title: Events
|
2016-10-03 22:33:52 +02:00
|
|
|
order: 20
|
2016-08-24 01:01:17 +02:00
|
|
|
---
|
2017-02-16 16:04:00 +01:00
|
|
|
<div class="container">
|
2016-08-24 01:01:17 +02:00
|
|
|
<div class="content">
|
|
|
|
<h1>Upcoming events</h1>
|
|
|
|
</div>
|
2017-02-09 15:04:12 +01:00
|
|
|
<% upcoming_events.each_slice(2) do |slice| %>
|
2017-02-16 16:04:00 +01:00
|
|
|
<div class="columns">
|
|
|
|
<% slice.each do |event| %>
|
|
|
|
<div class="tile is-parent ">
|
|
|
|
<%= render '/partials/_events_tile.*', event: event %>
|
2017-02-09 15:04:12 +01:00
|
|
|
</div>
|
2017-02-16 16:04:00 +01:00
|
|
|
<% end %>
|
|
|
|
</div>
|
2016-10-03 15:15:48 +02:00
|
|
|
<% end %>
|
2017-02-09 15:04:12 +01:00
|
|
|
</div>
|
2017-02-16 16:04:00 +01:00
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
<div class="content">
|
2016-10-03 15:15:48 +02:00
|
|
|
<h1>Past events</h1>
|
|
|
|
</div>
|
2017-02-09 15:04:12 +01:00
|
|
|
<% past_events.each_slice(2) do |slice| %>
|
2017-02-16 16:04:00 +01:00
|
|
|
<div class="columns">
|
|
|
|
<% slice.each do |event| %>
|
|
|
|
<div class="tile is-parent ">
|
|
|
|
<%= render '/partials/_events_tile.*', event: event %>
|
2017-02-09 15:04:12 +01:00
|
|
|
</div>
|
2017-02-16 16:04:00 +01:00
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
2016-08-24 01:01:17 +02:00
|
|
|
</div>
|