add: report button on profiles and communities

This commit is contained in:
trisua 2025-06-03 17:42:29 -04:00
parent 75459080c3
commit a091adc9d9
6 changed files with 34 additions and 6 deletions

View file

@ -191,7 +191,7 @@
(text "{% if not post.context.content_warning -%}")
(span
("id" "post-content:{{ post.id }}")
("class" "no_p_margin")
("class" "no_p_margin post_content")
("hook" "long")
(text "{{ post.content|markdown|safe }} {% if expect_repost -%} {% if repost -%} {{ self::post(post=repost[1], owner=repost[0], secondary=not secondary, community=false, show_community=false, can_manage_post=false) }} {% else %}")
(div
@ -204,15 +204,14 @@
(details
("class" "card tiny tertiary w-full")
(summary
("class" "flex gap-2 flex-wrap items-center red w-full")
(text "{{ icon \"triangle-alert\" }}")
("class" "red w-full")
(b
(text "{{ post.context.content_warning }}")))
(div
("class" "flex flex-col gap-2")
(span
("id" "post-content:{{ post.id }}")
("class" "no_p_margin")
("class" "no_p_margin post_content")
("hook" "long")
(text "{{ post.content|markdown|safe }} {% if expect_repost -%} {% if repost -%} {{ self::post(post=repost[1], owner=repost[0], secondary=not secondary, community=false, show_community=false, can_manage_post=false) }} {% else %}")
(div