updated time editing ui
Some checks failed
Tests / Run Go Tests (push) Failing after 34s

This commit is contained in:
2025-10-01 21:56:18 +02:00
parent 15a2a9c075
commit 7e27c944f3
14 changed files with 392 additions and 289 deletions

View File

@@ -79,5 +79,5 @@ func showWeeks(w http.ResponseWriter, r *http.Request) {
workWeeks = append(workWeeks, weeks...)
}
// isRunningWeek := time.Since(lastSub) < 24*5*time.Hour //the last submission is this week and cannot be send yet
templates.TeamPage([]models.WorkWeek{userWeek, userWeek}, userWeek).Render(r.Context(), w)
templates.TeamPage(workWeeks, userWeek).Render(r.Context(), w)
}