mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-12-26 17:32:22 +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"
|
c += " table-info"
|
||||||
elif record.note.balance < 0:
|
elif record.note.balance < 0:
|
||||||
c += " table-danger"
|
c += " table-danger"
|
||||||
#MODE VIEUXCON=ON
|
#MODE VIEUXCON=ON
|
||||||
if (datetime.datetime.utcnow().timestamp() - record.note.created_at.timestamp()) > 3600*24*365*3:
|
if (datetime.datetime.utcnow().timestamp() - record.note.created_at.timestamp()) > 3600*24*365*3:
|
||||||
c += " font-weight-bold"
|
c += " font-weight-bold"
|
||||||
return c
|
return c
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user