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:
parent
81017fc393
commit
5dc5f56ae4
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user