add: user ban_reason
This commit is contained in:
parent
b25bda29b8
commit
d1c3643574
11 changed files with 100 additions and 9 deletions
|
@ -102,7 +102,11 @@
|
|||
("class" "flush")
|
||||
("style" "font-weight: 600")
|
||||
("target" "_top")
|
||||
(text "{{ self::username(user=user) }}"))
|
||||
(text "{% if user.permissions|has_banned -%}")
|
||||
(del ("class" "fade") (text "{{ self::username(user=user) }}"))
|
||||
(text "{% else %}")
|
||||
(text "{{ self::username(user=user) }}")
|
||||
(text "{%- endif %}"))
|
||||
(text "{{ self::online_indicator(user=user) }} {% if user.is_verified -%}")
|
||||
(span
|
||||
("title" "Verified")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue