Show message in questionbox that user locked their inbox

This commit is contained in:
Andreas Nedbal 2022-11-06 15:01:20 +01:00
parent fa12b19b8a
commit 38332194c7
1 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,9 @@
- elsif user_signed_in? && user.blocking?(current_user)
.text-center
%strong= t(".status.blocked")
- elsif user.inbox_locked?
.text-center
%strong= t(".status.locked")
- else
- if user_signed_in? || user.privacy_allow_anonymous_questions?
#question-box{ data: { controller: "character-count", "character-count-max-value": 512 }}