From 21450a2301f96f112045de60148d899f6f63a066 Mon Sep 17 00:00:00 2001 From: Alyx BB Date: Mon, 27 May 2024 23:12:32 +0100 Subject: [PATCH] made it look better --- utils/date.go | 2 +- views/schedule_week.tmpl | 31 ++++++++----------------------- 2 files changed, 9 insertions(+), 24 deletions(-) diff --git a/utils/date.go b/utils/date.go index f9367b56..b892de0c 100644 --- a/utils/date.go +++ b/utils/date.go @@ -13,7 +13,7 @@ import ( // // StartHour is the hour of the day (local time) at which the scheduled day begins. -var StartHour = 16 +var StartHour = 6 // StartOfDayOn gets the schedule start-of-day on a given date. // This is in terms of StartHour. diff --git a/views/schedule_week.tmpl b/views/schedule_week.tmpl index 5e3e0f75..65fd67fc 100644 --- a/views/schedule_week.tmpl +++ b/views/schedule_week.tmpl @@ -25,23 +25,6 @@

Schedule

{{week (index .Schedule.Dates 0)}}

-
-
- {{with $weekName := week (index .Schedule.Dates 0)}} - {{if eq $weekName "this week"}} - - {{end}} - {{end}} -

-
-
-
- {{ range .Subtypes }} - {{.Name}} - {{end}} -
-
-