11 lines
774 B
HTML
11 lines
774 B
HTML
<td class="officeHour" rowspan="{{divide .OfficeHour.Duration .MinuteGranularity}}">
|
|
{{if .DeleteIcons}}<div style="text-align: right;"><a href="/deleteOfficeHour?id={{.OfficeHour.Id}}">❌</a></div>{{end}}
|
|
{{printf "%02d" .OfficeHour.Date.Hour}}:{{printf "%02d" .OfficeHour.Date.Minute}} - {{printf "%02d" .OfficeHour.EndDate.Hour}}:{{printf "%02d" .OfficeHour.EndDate.Minute}}<br>
|
|
{{if eq .OfficeHour.Date.Week 1}}in ungeraden Vorlesungswochen<br>{{end}}{{if eq .OfficeHour.Date.Week 2}}in geraden Vorlesungswochen<br>{{end}}
|
|
{{.OfficeHour.Course.Name}}<br>
|
|
{{.OfficeHour.Tutor.Name}}<br>
|
|
{{.OfficeHour.Room.Name}}
|
|
{{- if ne .OfficeHour.RoomName ""}}: {{.OfficeHour.RoomName}}{{end -}}
|
|
<br>
|
|
{{if ne .OfficeHour.Info ""}}{{.OfficeHour.Info}}{{end}}
|
|
</td>
|