add: report button on profiles and communities
This commit is contained in:
parent
75459080c3
commit
a091adc9d9
6 changed files with 34 additions and 6 deletions
|
@ -172,6 +172,16 @@
|
|||
(span
|
||||
("class" "date")
|
||||
(text "{{ profile.last_seen }}"))))
|
||||
(text "{%- endif %}")
|
||||
|
||||
(text "{% if user and user.id != profile.id -%}")
|
||||
(hr)
|
||||
(div
|
||||
("class" "flex flex-wrap gap-2 w-full fade")
|
||||
(a
|
||||
("class" "red")
|
||||
("href" "javascript:trigger('me::report', ['{{ profile.id }}', 'user'])")
|
||||
(text "({{ lang[\"general:action.report\"]|lower }})")))
|
||||
(text "{%- endif %}")))
|
||||
(text "{% if not is_self and user -%}")
|
||||
(div
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue