Compare commits

..

3 commits

2 changed files with 9 additions and 1 deletions

View file

@ -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("<p class=\"text-center\">Aktuell sind keine passenden Sprechstunden eingetragen.</p>")
}
var table bytes.Buffer

View file

@ -8,4 +8,12 @@
<th class="px-2 text-center timetableRightBorder" colspan="{{.ColspanFri}}">Freitag</th>
</tr>
{{.TableBody}}
<tr>
<th class="px-2 text-center timetableRightBorder">&nbsp;</th>
<th class="px-2 text-center timetableRightBorder" colspan="{{.ColspanMon}}">Montag</th>
<th class="px-2 text-center timetableRightBorder" colspan="{{.ColspanTue}}">Dienstag</th>
<th class="px-2 text-center timetableRightBorder" colspan="{{.ColspanWed}}">Mittwoch</th>
<th class="px-2 text-center timetableRightBorder" colspan="{{.ColspanThu}}">Donnerstag</th>
<th class="px-2 text-center timetableRightBorder" colspan="{{.ColspanFri}}">Freitag</th>
</tr>
</table>