Pass `author_identifier` in `question/question` partial

This commit is contained in:
Karina Kwiatek 2022-06-26 20:47:29 +02:00 committed by Andreas Nedbal
parent fc8dad4b9e
commit ddd7cfd81d
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
= t 'views.actions.report'
%h6.text-muted.media-heading.answerbox__question-user
- if hidden
= user_screen_name question.user, anonymous: question.author_is_anonymous, url: false
= user_screen_name question.user, anonymous_identifier: question.author_identifier, url: false
- else
= raw t('views.answerbox.asked', user: user_screen_name(question.user, author_identifier: question.author_identifier), time: time_tooltip(question))
.answerbox__question-text= question_markdown question.content