fix: forum signatures

This commit is contained in:
trisua 2025-08-04 12:57:00 -04:00
parent 9ec52abfe4
commit 3738a5cd1f
5 changed files with 11 additions and 4 deletions

View file

@ -134,7 +134,12 @@
("placeholder" "content")
("minlength" "2")
("maxlength" "4096")
(text "{% if draft -%}{{ draft.content }}{%- endif %}")))
(text "{% if draft -%}{{ draft.content }}{%- endif %}")
(text "{%- if use_signature %}")
(text "
{{ user.settings.forum_signature }}")
(text "{%- endif %}")))
(div
("id" "files_list")
("class" "flex gap_2 flex_wrap"))

View file

@ -10,7 +10,7 @@
(div
("class" "flex gap_2")
(a
("href" "/communities/intents/post?community={{ community.id }}&topic={{ topic_id }}")
("href" "/communities/intents/post?community={{ community.id }}&topic={{ topic_id }}&sig=true")
("class" "button small lowered")
("data-turbo" "false")
(icon (text "plus"))

View file

@ -1954,7 +1954,7 @@
\"textarea\",
],
[
[\"forum_signature\", \"Forum signature (coming soon)\"],
[\"forum_signature\", \"Forum signature\"],
settings.forum_signature,
\"textarea\",
],