fix: don't show "ask about this" if owner has questions disabled

This commit is contained in:
trisua 2025-07-13 18:43:36 -04:00
parent 2c83ed3d9d
commit 73d8e9ab49

View file

@ -357,6 +357,7 @@
(span
(text "BlueSky")))
(text "{%- endif %}")
(text "{% if owner.settings.enable_questions -%}")
(a
("class" "button")
("href" "/@{{ owner.username }}?asking_about={{ post.id }}")
@ -364,6 +365,7 @@
(span
(str (text "communities:label.ask_about_this"))))
(text "{%- endif %}")
(text "{%- endif %}")
(text "{% if user and user.id != post.owner -%}")
(b
("class" "title")