From 9ae75b45ad2801046f334300c1429084a96fade0 Mon Sep 17 00:00:00 2001 From: Konrad du Plessis Date: Wed, 22 Apr 2026 15:51:38 +0200 Subject: [PATCH] Fix a11y + comment style on work log payroll page - Active breadcrumb item now has aria-current="page" so screen readers correctly announce the current page (Bootstrap 5 convention). - Template section comments changed from {# --- #} to {# === #} to match the CLAUDE.md Python convention used elsewhere in the project. No logic or rendering changes. Co-Authored-By: Claude Opus 4.7 (1M context) --- core/templates/core/work_log_payroll.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/core/templates/core/work_log_payroll.html b/core/templates/core/work_log_payroll.html index 602cac8..9710a58 100644 --- a/core/templates/core/work_log_payroll.html +++ b/core/templates/core/work_log_payroll.html @@ -10,11 +10,11 @@ {% block content %}
- {# --- Breadcrumb --- #} + {# === Breadcrumb === #} - {# --- Page header --- #} + {# === Page header === #}

Work Log Payroll

@@ -33,7 +33,7 @@
- {# --- Attendance card --- #} + {# === Attendance card === #}
Attendance
@@ -59,7 +59,7 @@
- {# --- Unpriced OT banner --- #} + {# === Unpriced OT banner === #} {% if overtime_needs_pricing %}
@@ -68,7 +68,7 @@
{% endif %} - {# --- Workers table --- #} + {# === Workers table === #}
Workers on this log
@@ -117,7 +117,7 @@
- {# --- Adjustments card (only when present) --- #} + {# === Adjustments card (only when present) === #} {% if adjustments %}
@@ -145,7 +145,7 @@
{% endif %} - {# --- Totals footer --- #} + {# === Totals footer === #}
Total earned: R {{ total_earned|money }}
Paid: R {{ total_paid|money }}