From 120f21d645863775f22685fdf68348010e57a0cb Mon Sep 17 00:00:00 2001 From: Konrad du Plessis Date: Sun, 17 May 2026 02:06:32 +0200 Subject: [PATCH] polish: fix stale attendance_log comment + idiomatic WorkLog.objects.all() (SiteReport removal cleanup) Co-Authored-By: Claude Opus 4.7 (1M context) --- core/templates/core/attendance_log.html | 5 +++-- core/views.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/core/templates/core/attendance_log.html b/core/templates/core/attendance_log.html index b8c1003..717aa69 100644 --- a/core/templates/core/attendance_log.html +++ b/core/templates/core/attendance_log.html @@ -169,8 +169,9 @@ {# Two submit buttons share the same form. The `name=value` pair #} {# of whichever button the user clicks ends up in request.POST so #} {# the view can branch on `next_action`. Default ('log_only' or #} - {# missing) keeps the existing Site Report flow. 'log_absences' #} - {# redirects to /absences/log/ pre-filled with this date/team/project. #} + {# missing) returns to the dashboard with the success toast. #} + {# 'log_absences' redirects to /absences/log/ pre-filled with this #} + {# date/team/project. #}