add: user ban_reason
This commit is contained in:
parent
b25bda29b8
commit
d1c3643574
11 changed files with 100 additions and 9 deletions
|
@ -70,8 +70,13 @@
|
|||
(str (text "general:label.account_banned")))
|
||||
|
||||
(div
|
||||
("class" "card")
|
||||
(str (text "general:label.account_banned_body"))))))
|
||||
("class" "card flex flex-col gap-2 no_p_margin")
|
||||
(str (text "general:label.account_banned_body"))
|
||||
(hr)
|
||||
(span ("class" "fade") (text "The following reason was provided by a moderator:"))
|
||||
(div
|
||||
("class" "card lowered w-full")
|
||||
(text "{{ user.ban_reason|markdown|safe }}"))))))
|
||||
|
||||
; if we aren't banned, just show the page body
|
||||
(text "{% elif user and user.awaiting_purchase %}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue