macros.html 861 Bytes
Newer Older
1
{% macro preview(lecture) %}
Andreas Valder's avatar
Andreas Valder committed
2
3
<li class="list-group-item">
	<div class="row">
4
5
		<a href="?view=player&amp;lectureid={{ lecture['id'] }}#content" title="{{ lecture['coursetitle'] }}">
			<img class="col-xs-4" src="https://videoag.fsmpi.rwth-aachen.de/{{ lecture['titlefile'] }}" alt="Vorschaubild">
Andreas Valder's avatar
Andreas Valder committed
6
			<div class="col-xs-4">
7
8
				<span style="color: #000;"><strong>{{ lecture['short'] }}</strong></span><br>
				<span style="color: #000;">{{ lecture['time'] }}</span>
9
				{% if lecture['speaker'] %}
10
					<div class="small" style="color: #000;">Gehalten von {{ lecture['speaker'] }} </div>
11
				{% endif %}
Andreas Valder's avatar
Andreas Valder committed
12
			</div>
13
14
15
16
			<div class="col-xs-4" style="color: #000;">
				<div class="comment" style="color: #000;">{{ lecture['comment']  }}</div>
				<p style="font-style: italic; color: #777;">{{ lecture['title'] }}</p>
			</div>
Andreas Valder's avatar
Andreas Valder committed
17
18
19
20
21
		</a>
	</div>
</li>

{% endmacro %}: