forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 9
/
ressourcen.html
192 lines (179 loc) · 6.74 KB
/
ressourcen.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
---
layout: default
---
{% assign wma-winter = 0 %}
{% assign wma-winter-sws = 0 %}
{% assign wma-sommer = 0 %}
{% assign wma-sommer-sws = 0 %}
{% assign tutor-winter = 0 %}
{% assign tutor-winter-sws = 0 %}
{% assign tutor-sommer = 0 %}
{% assign tutor-sommer-sws = 0 %}
{% assign sorted_people = site.data.people %}
{% assign bpo4 = site.modulbeschreibungen-bachelor|where:"resources","true" %}
{% assign bpo3 = site.modulbeschreibungen-bpo3|where:"resources","true" %}
{% assign activities = site.activities-resources|where:"resources","true" %}
{% assign alle-module = bpo4|concat:bpo3|sort:"title" %}
<section class="section">
<div class="container">
<div class="content">
<h1>Wo wird Hilfe gebraucht?</h1>
Hier sind alle Module und Aktivitäten zusammen gefasst, um eine Übersicht zu geben, wofür welche Mitarbeiter benötigt und eingesetzt werden.
</div>
</div>
</section>
<section class="section">
<div class="container">
<div class="content is-tab-wrap">
<h2>Wintersemester</h2>
<table class="table is-tab-content">
<thead>
<tr>
<th>Modul</th>
<th width="15%">WMA (SWS)</th>
<th width="15%">SHK/ Tutor (SWS)</th>
<th width="15%">Profil</th>
</tr>
</thead>
<tbody>
{% for modul in alle-module %}
{% include /functions/resolve-names.html verantwortlich=modul.modulverantwortlich %}
{% assign studiensemester = modul.studiensemester|modulo:2 %}
{% if studiensemester == 1 or modul.jedes-semester == true %}
<tr>
<td><a href="{{site.baseurl}}{{modul.url}}">{{modul.title}}</a> <a target="_blank" href="https://github.com/th-koeln/mi-2017/edit/master/{{ modul.path }}"><span class="icon"><i class="fa fa-edit"></i></span></a><br>{{modulverantwortliche}}
</td>
<td>{% if modul.wma %}
{% assign wma-winter = wma-winter|plus: modul.wma.anzahl %}
{% assign wma-winter-sws = wma-winter-sws|plus: modul.wma.sws %}
{{modul.wma.anzahl}} x {{modul.wma.sws}} SWS
{% endif %}
</td>
<td>{% if modul.tutor %}
{% assign tutor-winter = tutor-winter|plus: modul.tutor.anzahl %}
{% assign tutor-winter-sws = tutor-winter-sws|plus: modul.tutor.sws %}
{{modul.tutor.anzahl}} x {{modul.tutor.sws}} SWS
{% endif %}
</td>
<td>{% if modul.resources-skillset %}{{modul.resources-skillset}}{% endif %}</td>
</tr>
{% endif %}
{% endfor %}
<tr>
<th><br>Aktivität</th>
<th><br>WMA (SWS)</th>
<th><br>SHK/ Tutor (SWS)</th>
<th><br>Profil</th>
</tr>
{% for activity in activities %}
{% include /functions/resolve-names.html verantwortlich=activity.verantwortlich %}
{% if activity.ws == true %}
<tr>
<td><a href="{{site.baseurl}}{{activity.url}}">{{activity.title}}</a> <a target="_blank" href="https://github.com/th-koeln/mi-2017/edit/master/{{ activity.path }}"><span class="icon"><i class="fa fa-edit"></i></span></a><br>{{verantwortliche}}</td>
<td>{% if activity.wma %}
{% assign wma-winter = wma-winter|plus:activity.wma.anzahl %}
{% assign wma-winter-sws = wma-winter-sws|plus:activity.wma.sws %}
{{activity.wma.anzahl}} x {{activity.wma.sws}} SWS
{% endif %}
</td>
<td>{% if activity.tutor %}
{% assign tutor-winter = tutor-winter|plus: activity.tutor.anzahl %}
{% assign tutor-winter-sws = tutor-winter-sws|plus: activity.tutor.sws %}
{{activity.tutor.anzahl}} x {{activity.tutor.sws}} SWS
{% endif %}
</td>
<td>{% if activity.resources-skillset %}{{activity.resources-skillset}}{% endif %}</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
<tfoot>
<tr>
<td></td>
<td>{{wma-winter}}/ {{wma-winter-sws}} SWS</td>
<td>{{tutor-winter}}/ {{tutor-winter-sws}} SWS</td>
<td></td>
</tr>
</tfoot>
</table>
</div>
</div>
</section>
<section class="section">
<div class="container">
<div class="content is-tab-wrap">
<h2>Sommersemester</h2>
<table class="table is-tab-content">
<thead>
<tr>
<th>Modul</th>
<th width="15%">WMA (SWS)</th>
<th width="15%">SHK/ Tutor (SWS)</th>
<th width="15%">Profil</th>
</tr>
</thead>
<tbody>
{% for modul in alle-module %}
{% include /functions/resolve-names.html verantwortlich=modul.modulverantwortlich %}
{% assign studiensemester = modul.studiensemester|modulo:2 %}
{% if studiensemester == 0 %}
<tr>
<td><a href="{{site.baseurl}}{{modul.url}}">{{modul.title}}</a> <a target="_blank" href="https://github.com/th-koeln/mi-2017/edit/master/{{ modul.path }}"><span class="icon"><i class="fa fa-edit"></i></span></a><br>{{modulverantwortliche}}
</td>
<td>{% if modul.wma %}
{% assign wma-sommer = wma-sommer|plus: modul.wma.anzahl %}
{% assign wma-sommer-sws = wma-sommer-sws|plus: modul.wma.sws %}
{{modul.wma.anzahl}} x {{modul.wma.sws}} SWS
{% endif %}
</td>
<td>{% if modul.tutor %}
{% assign tutor-sommer = tutor-sommer|plus: modul.tutor.anzahl %}
{% assign tutor-sommer-sws = tutor-sommer-sws|plus: modul.tutor.sws %}
{{modul.tutor.anzahl}} x {{modul.tutor.sws}} SWS
{% endif %}
</td>
<td>{% if modul.resources-skillset %}{{modul.resources-skillset}}{% endif %}</td>
</tr>
{% endif %}
{% endfor %}
<tr>
<th><br>Aktivität</th>
<th><br>WMA (SWS)</th>
<th><br>SHK/ Tutor (SWS)</th>
<th><br>Profil</th>
</tr>
{% for activity in activities %}
{% include /functions/resolve-names.html verantwortlich=activity.verantwortlich %}
{% if activity.ss == true %}
<tr>
<td><a href="{{site.baseurl}}{{activity.url}}">{{activity.title}}</a> <a target="_blank" href="https://github.com/th-koeln/mi-2017/edit/master/{{ activity.path }}"><span class="icon"><i class="fa fa-edit"></i></span></a><br>{{verantwortliche}}
</td>
<td>{% if activity.wma %}
{% assign wma-sommer = wma-sommer|plus: activity.wma.anzahl %}
{% assign wma-sommer-sws = wma-sommer-sws|plus: activity.wma.sws %}
{{activity.wma.anzahl}} x {{activity.wma.sws}} SWS
{% endif %}
</td>
<td>{% if activity.tutor %}
{% assign tutor-sommer = tutor-sommer|plus: activity.tutor.anzahl %}
{% assign tutor-sommer-sws = tutor-sommer-sws|plus: activity.tutor.sws %}
{{activity.tutor.anzahl}} x {{activity.tutor.sws}} SWS
{% endif %}
</td>
<td>{% if activity.resources-skillset %}{{activity.resources-skillset}}{% endif %}</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
<tfoot>
<tr>
<td></td>
<td>{{wma-sommer}}/ {{wma-sommer-sws}} SWS</td>
<td>{{tutor-sommer}}/ {{tutor-sommer-sws}} SWS</td>
<td></td>
</tr>
</tfoot>
</table>
</div>
</div>
</section>