js-table #364

Merged
marie merged 23 commits from js-table into staging 2024-04-14 17:56:45 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 23cd62820c - Show all commits

View File

@ -64,7 +64,7 @@ WHERE
user_id = ?
AND (
read_at IS NULL
OR read_at >= datetime('now', '-30 days')
OR read_at >= datetime('now', '-14 days')
)
ORDER BY read_at DESC, created_at DESC;
",

View File

@ -39,7 +39,7 @@
{% endfor %}
</div>
<details class="py-3 bg-gray-200 dark:bg-primary-950 rounded-b-md">
<summary class="px-3">Vergangene Nachrichten</summary>
<summary class="px-3">Vergangene Nachrichten (14 Tage)</summary>
<div class="divide-y text-sm">
{% for notification in notifications %}
{% if notification.read_at %}