forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 9
/
dozenten.html
58 lines (50 loc) · 1.14 KB
/
dozenten.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
layout: default
---
{% assign sorted_people = site.data.people|sort %}
<section class="section">
<div class="container">
<div class="content">
<h1>Dozenten</h1>
</div>
</div>
</section>
<section class="section">
<div class="container">
<div class="content is-tab-wrap">
<table class="table is-tab-content">
<thead>
<tr>
<th width="10%">Kürzel</th>
<th width="30%">Name</th>
<th>Module</th>
</tr>
</thead>
<tbody>
{% for member in sorted_people %}
{% include /functions/collect-courses.html dozent=member %}
{% assign ws = false %}
<tr>
<td>{{ member[0] }}</td>
<td>{{ member[1].name}}</td>
<td>
{% assign m = module_ws|size %}
{% if m > 0 %}
Wintersemester: <br>{{module_ws}}
{% assign ws = true %}
{% endif %}
{% assign m = module_ss|size %}
{% if m > 0 %}
{% if ws == true %}
<hr>
{% endif %}
Sommersemester: <br>{{module_ss}}
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</section>