add: show notifications/requests counts in mod panel

This commit is contained in:
trisua 2025-06-02 21:23:07 -04:00
parent 0983a3bb84
commit 4be98ead53

View file

@ -37,13 +37,19 @@
("class" "button quaternary")
(text "{{ icon \"bell\" }}")
(span
(text "Notifications")))
(text "Notifications"))
(span
("class" "notification")
(text "{{ profile.notification_count }}")))
(a
("href" "/requests?id={{ profile.id }}")
("class" "button quaternary")
(text "{{ icon \"inbox\" }}")
(span
(text "Requests")))
(text "Requests"))
(span
("class" "notification")
(text "{{ profile.request_count }}")))
(button
("class" "red quaternary")
("onclick" "delete_account(event)")