add: allow mods to view user notifications
This commit is contained in:
parent
d44004e86b
commit
0983a3bb84
5 changed files with 44 additions and 15 deletions
|
@ -5,6 +5,17 @@
|
|||
(text "{% endblock %} {% block body %} {{ macros::nav(selected=\"notifications\") }}")
|
||||
(main
|
||||
("class" "flex flex-col gap-2")
|
||||
|
||||
; viewing other user's notifications warning
|
||||
(text "{% if profile.id != user.id -%}")
|
||||
(div
|
||||
("class" "card w-full red flex gap-2 items-center")
|
||||
(text "{{ icon \"skull\" }}")
|
||||
(b
|
||||
(text "Viewing other user's notifications! Please be careful.")))
|
||||
(text "{%- endif %}")
|
||||
|
||||
; ...
|
||||
(div
|
||||
("class" "card-nest")
|
||||
(div
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue