1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-26 09:22:21 +00:00

guests cannot be old

This commit is contained in:
bleizi 2024-01-11 14:38:43 +01:00
parent 81017fc393
commit 5dc5f56ae4
No known key found for this signature in database
GPG Key ID: D46D7E3364433208

View File

@ -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