1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-02-26 09:56:29 +00:00

Compare commits

..

No commits in common. "d6645900d3dd48f25db26578976bbafa52ca9f3c" and "ab6c94312692b0b03fece7ccbc1b1d6121d1fd9e" have entirely different histories.

4 changed files with 4 additions and 26 deletions

View File

@ -78,8 +78,8 @@ def get_row_class(record):
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 * 2.5: if (datetime.datetime.utcnow().timestamp() - record.note.created_at.timestamp()) > 3600 * 24 * 365 * 3:
c += " font-weight-bold underline" c += " font-weight-bold"
return c return c

View File

@ -3111,22 +3111,6 @@
"description": "Voir ceux nous ayant pour ami, pour toujours" "description": "Voir ceux nous ayant pour ami, pour toujours"
} }
}, },
{
"model": "permission.permission",
"pk": 199,
"fields": {
"model": [
"member",
"membership"
],
"query": "{\"club\": 2}",
"type": "view",
"mask": 1,
"field": "",
"permanent": false,
"description": "Voir les adhérents Kfet"
}
},
{ {
"model": "permission.role", "model": "permission.role",
"pk": 1, "pk": 1,
@ -3609,9 +3593,7 @@
168, 168,
176, 176,
177, 177,
178, 197
197,
199
] ]
} }
}, },

View File

@ -3,10 +3,6 @@
text-decoration: underline; text-decoration: underline;
} }
.underline {
text-decoration: underline;
}
/* Opaque tooltip with white background */ /* Opaque tooltip with white background */
.tooltip.show { .tooltip.show {
opacity: 1; opacity: 1;

View File

@ -102,7 +102,7 @@ function displayStyle (note) {
else if (balance < 0) { css += ' text-warning' } else if (balance < 0) { css += ' text-warning' }
if (!note.email_confirmed) { css += ' bg-primary' } if (!note.email_confirmed) { css += ' bg-primary' }
else if (!note.is_active || (note.membership && note.membership.date_end < new Date().toISOString())) { css += ' bg-info' } else if (!note.is_active || (note.membership && note.membership.date_end < new Date().toISOString())) { css += ' bg-info' }
if (((Date.now() - Date.parse(note.created_at))/ms_per_year) > 2.5) { css += ' font-weight-bold underline' } if (((Date.now() - Date.parse(note.created_at))/ms_per_year) > 3) { css += 'font-weight-bold' }
return css return css
} }