ui: show headings on page

This commit is contained in:
Johannes 2023-07-07 21:42:52 +02:00
parent 764d88a86c
commit bfce76ca79
2 changed files with 14 additions and 3 deletions

View file

@ -1,4 +1,12 @@
{{define "title"}}Übersicht{{end}}
{{define "title"}}
Sprechstunden
{{- range $course := .Courses -}}
{{- if eq $course.Id $.SelectedCourse}} für {{$course.Name}}{{- end -}}
{{- end -}}
{{- range $room := .Rooms -}}
{{- if eq $room.Id $.SelectedRoom}} in Raum {{$room.Name}}{{- end -}}
{{- end -}}
{{end}}
{{define "content"}}
<form method="GET" action="/getByCourse">