/time now also uses workDay instead of grouped booking --> outsourcing
to sql
This commit is contained in:
@@ -22,15 +22,8 @@ templ TimePage(workDays []models.WorkDay) {
|
||||
@headerComponent()
|
||||
<div class="grid-main divide-y-1">
|
||||
@inputForm()
|
||||
for _, bookingGroup := range workDays {
|
||||
@dayComponent(bookingGroup)
|
||||
// if (bookingGroup.Day.Weekday() == 4) {
|
||||
// <div class="col-span-5">
|
||||
// <hr/>
|
||||
// <p>Wochenende</p>
|
||||
// <hr/>
|
||||
// </div>
|
||||
// }
|
||||
for _, day := range workDays {
|
||||
@dayComponent(day)
|
||||
}
|
||||
</div>
|
||||
@LegendComponent()
|
||||
|
||||
Reference in New Issue
Block a user