From 5dc5f56ae442ccbeabafd4b931bf62b7d8454891 Mon Sep 17 00:00:00 2001 From: bleizi Date: Thu, 11 Jan 2024 14:38:43 +0100 Subject: [PATCH] guests cannot be old --- apps/activity/tables.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/activity/tables.py b/apps/activity/tables.py index 2a454652..d5af6c3a 100644 --- a/apps/activity/tables.py +++ b/apps/activity/tables.py @@ -77,9 +77,9 @@ def get_row_class(record): c += " table-info" elif record.note.balance < 0: c += " table-danger" - #MODE VIEUXCON=ON - if (datetime.datetime.utcnow().timestamp() - record.note.created_at.timestamp()) > 3600*24*365*3: - c += " font-weight-bold" + #MODE VIEUXCON=ON + if (datetime.datetime.utcnow().timestamp() - record.note.created_at.timestamp()) > 3600*24*365*3: + c += " font-weight-bold" return c