1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-29 12:50:55 +02:00

Merge branch 'main' into potvieux

This commit is contained in:
misterkrafts
2024-01-11 02:19:51 +01:00
committed by www-data
68 changed files with 2334 additions and 1177 deletions

View File

@ -97,7 +97,7 @@ function displayStyle (note) {
const balance = note.balance
var css = ''
var ms_per_year = 31536000000 // 365 * 24 * 3600 * 1000
if (balance < -5000) { css += ' text-danger bg-dark' }
if (balance < -2000) { css += ' text-danger bg-dark' }
else if (balance < -1000) { css += ' text-danger' }
else if (balance < 0) { css += ' text-warning' }
if (!note.email_confirmed) { css += ' bg-primary' }