2015-02-23 11:20:05 +01:00
|
|
|
{% extends "base.twig" %}
|
|
|
|
|
2015-02-23 13:42:38 +01:00
|
|
|
{% block container %}
|
2015-02-23 11:20:05 +01:00
|
|
|
|
|
|
|
<div class="row">
|
2015-02-23 13:42:38 +01:00
|
|
|
|
|
|
|
<div class="col-sm-4">
|
2015-02-23 15:45:47 +01:00
|
|
|
|
2015-02-23 13:42:38 +01:00
|
|
|
<h2>Events</h2>
|
2015-02-23 15:45:47 +01:00
|
|
|
|
2015-02-23 13:42:38 +01:00
|
|
|
</div>
|
|
|
|
|
2015-02-23 15:45:47 +01:00
|
|
|
<div class="col-sm-8">
|
2015-02-23 13:42:38 +01:00
|
|
|
|
2015-02-23 15:45:47 +01:00
|
|
|
{% for event in events %}
|
|
|
|
|
|
|
|
<div class="row event well">
|
|
|
|
|
|
|
|
<div class="col-sm-4">
|
|
|
|
<img src="https://www.hackerspace.lu/wp-content/uploads/2015/01/cfbtncrop.jpg" />
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<h2>
|
|
|
|
{% if event.url.0 is defined %}
|
|
|
|
<a href="{{ event.url.0 }}">
|
|
|
|
{{ event.name }}
|
|
|
|
</a>
|
2015-02-23 16:09:30 +01:00
|
|
|
{% else %}
|
|
|
|
{{ event.name }}
|
2015-02-23 15:45:47 +01:00
|
|
|
{% endif %}
|
|
|
|
</h2>
|
|
|
|
{% if event.location is defined %}
|
|
|
|
<h4>{{ event.location }}</h4>
|
|
|
|
{% endif %}
|
|
|
|
<p>{{ event.description }}</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endfor %}
|
2015-02-23 13:42:38 +01:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2015-02-23 11:20:05 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|