Level2.lu/src/app/views/level2.twig

47 lines
873 B
Plaintext
Raw Normal View History

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 13:42:38 +01:00
<h2>Events</h2>
2015-02-23 13:42:38 +01:00
</div>
<div class="col-sm-8">
2015-02-23 13:42:38 +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>
{% else %}
{{ event.name }}
{% 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 %}