From 4c1cdb62100217a5c8ebbeee0b1507a248f05dfa Mon Sep 17 00:00:00 2001 From: Konrad du Plessis Date: Thu, 23 Apr 2026 17:12:05 +0200 Subject: [PATCH] fix(adjustments): remove multi-line {# #} comment in worker cell MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Same bug as e088192 — I wrote a 4-line {# ... #} block in the Fix-A prompt for the worker-name cell, forgetting Django's single-line comment constraint. The implementer reproduced it faithfully and it shipped. The comment text flooded every row's Worker column. Fix: collapse the comment to a single-line {# #} on the row above the , same style as the other row comments. --- core/templates/core/_adjustment_row.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/templates/core/_adjustment_row.html b/core/templates/core/_adjustment_row.html index c2bcdaf..e23e13a 100644 --- a/core/templates/core/_adjustment_row.html +++ b/core/templates/core/_adjustment_row.html @@ -27,12 +27,8 @@ Row actions differ by paid status: {# --- Date --- #} {{ adj.date|date:"d M Y" }} - {# --- Worker name (opens the Worker Lookup modal) --- #} + {# --- Worker name (class="worker-lookup-link" opens the Worker Lookup modal) --- #} - {# Worker name opens the Worker Lookup modal — same as on the Pending, - Payment History, and Loans tabs. The existing - .worker-lookup-link handler (core/templates/core/payroll_dashboard.html - line ~3214) listens for any element with this class + data-worker-id. #} {{ adj.worker.name }}