diff --git a/controllers/timetable.go b/controllers/timetable.go index cedc11c..eae37aa 100644 --- a/controllers/timetable.go +++ b/controllers/timetable.go @@ -109,7 +109,7 @@ func (b *BaseHandler) printTimetable(timetable map[models.Date]map[int]models.Of } } if !anyOfficeHourExists { - return template.HTML("
Aktuell sind keine passenden Sprechstunden eingetragen.
") + return template.HTML("Aktuell sind keine passenden Sprechstunden eingetragen.") } var table bytes.Buffer diff --git a/templating/templates/officeHourTable.html b/templating/templates/officeHourTable.html index 64f28c7..21e68e9 100644 --- a/templating/templates/officeHourTable.html +++ b/templating/templates/officeHourTable.html @@ -8,12 +8,4 @@