add: show notifications/requests counts in mod panel
This commit is contained in:
parent
0983a3bb84
commit
4be98ead53
1 changed files with 8 additions and 2 deletions
|
@ -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)")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue