fix: don't show "ask about this" if owner has questions disabled
This commit is contained in:
parent
2c83ed3d9d
commit
73d8e9ab49
1 changed files with 2 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue