macros.html 606 Bytes
Newer Older
Andreas Valder's avatar
Andreas Valder committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{% macro preview(talk,event) %}
<li class="list-group-item">
	<div class="row">
		<a href="?view=player&amp;lectureid={{ talk['id'] }}#content" title="{{ event['title'] }}">
			<img class="col-xs-4" src="{{ talk['thumbnail'] }}" alt="Vorschaubild">
			<div class="col-xs-4">
				<span>{{ event['title'] }}</span>
				<span>{{ talk['date'] }}</span>
				<p>{{ talk['title'] }}</p>
			</div>
			<div class="col-xs-4">
				<div class="comment">{{ talk['comment']  }}</div>
				<div class="comment">Gehalten von {{ talk['speaker']|default('unbekannt') }} </div>
			</div>
		</a>
	</div>
</li>

{% endmacro %}: