Number of cards per list and sum of custom number field in list head.

Thanks to xet7 !

Fixes #3796
This commit is contained in:
Lauri Ojansivu 2025-12-22 21:06:44 +02:00
parent 4292302c3c
commit e569c2957e
29 changed files with 239 additions and 142 deletions

View file

@ -8,7 +8,7 @@ template(name='notificationsDrawer')
h5 {{_ 'notifications'}}
if($gt unreadNotifications 0)
|(#{unreadNotifications})
a.fa.fa-times-thin.close
a.close
ul.notifications
each transformedProfile.notifications
+notification(activityData=activityObj index=dbIndex read=read)
@ -16,5 +16,5 @@ template(name='notificationsDrawer')
a.all-read {{_ 'mark-all-as-read'}}
if ($and ($.Session.get 'showReadNotifications') ($gt readNotifications 0))
a.remove-read
i.fa.fa-trash
| 🗑️
| {{_ 'remove-all-read'}}