This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user