2023-07-09 11:01:01 +00:00
|
|
|
<td class="officeHour" rowspan="{{divide .OfficeHour.Duration .MinuteGranularity}}">
|
2022-09-05 18:10:35 +00:00
|
|
|
{{if .DeleteIcons}}<div style="text-align: right;"><a href="/deleteOfficeHour?id={{.OfficeHour.Id}}">❌</a></div>{{end}}
|
2022-10-18 09:52:37 +00:00
|
|
|
{{printf "%02d" .OfficeHour.Date.Hour}}:{{printf "%02d" .OfficeHour.Date.Minute}} - {{printf "%02d" .OfficeHour.EndDate.Hour}}:{{printf "%02d" .OfficeHour.EndDate.Minute}}<br>
|
2022-10-20 06:25:12 +00:00
|
|
|
{{if eq .OfficeHour.Date.Week 1}}in ungeraden Vorlesungswochen<br>{{end}}{{if eq .OfficeHour.Date.Week 2}}in geraden Vorlesungswochen<br>{{end}}
|
2022-10-18 09:52:37 +00:00
|
|
|
{{.OfficeHour.Course.Name}}<br>
|
|
|
|
{{.OfficeHour.Tutor.Name}}<br>
|
2023-07-09 13:52:09 +00:00
|
|
|
{{.OfficeHour.Room.Name}}
|
|
|
|
{{- if ne .OfficeHour.RoomName ""}}: {{.OfficeHour.RoomName}}{{end -}}
|
|
|
|
<br>
|
|
|
|
{{if ne .OfficeHour.Info ""}}{{.OfficeHour.Info}}{{end}}
|
2022-10-18 09:52:37 +00:00
|
|
|
</td>
|