diff --git a/apps/activity/tables.py b/apps/activity/tables.py index d5af6c3a..24fedcd6 100644 --- a/apps/activity/tables.py +++ b/apps/activity/tables.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import datetime @@ -77,8 +77,8 @@ 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: + # MODE VIEUXCON=ON + if (datetime.datetime.utcnow().timestamp() - record.note.created_at.timestamp()) > 3600 * 24 * 365 * 3: c += " font-weight-bold" return c