✨ Add "Lock note" feature
This commit is contained in:
parent
0c753c3288
commit
5e65e2d74a
11 changed files with 279 additions and 81 deletions
|
|
@ -107,7 +107,7 @@ function displayStyle (note) {
|
|||
css += " text-warning";
|
||||
else if (!note.email_confirmed)
|
||||
css += " text-white bg-primary";
|
||||
else if (note.membership && note.membership.date_end < new Date().toISOString())
|
||||
else if (!note.is_active || (note.membership && note.membership.date_end < new Date().toISOString()))
|
||||
css += "text-white bg-info";
|
||||
return css;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue