Compare commits
3 commits
af84418cd1
...
401854c542
Author | SHA1 | Date | |
---|---|---|---|
401854c542 | |||
fdf723c045 | |||
ccdd2e6981 |
2 changed files with 9 additions and 1 deletions
|
@ -109,7 +109,7 @@ func (b *BaseHandler) printTimetable(timetable map[models.Date]map[int]models.Of
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if !anyOfficeHourExists {
|
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
|
var table bytes.Buffer
|
||||||
|
|
||||||
|
|
|
@ -8,4 +8,12 @@
|
||||||
<th class="px-2 text-center timetableRightBorder" colspan="{{.ColspanFri}}">Freitag</th>
|
<th class="px-2 text-center timetableRightBorder" colspan="{{.ColspanFri}}">Freitag</th>
|
||||||
</tr>
|
</tr>
|
||||||
{{.TableBody}}
|
{{.TableBody}}
|
||||||
|
<tr>
|
||||||
|
<th class="px-2 text-center timetableRightBorder"> </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>
|
</table>
|
||||||
|
|
Loading…
Reference in a new issue