Show question link for answered questions with only one answer
Closes #43
This commit is contained in:
parent
11e8555dae
commit
5e7042ad6c
|
@ -24,7 +24,7 @@
|
|||
View in Kontrollzentrum
|
||||
%h6.text-muted.media-heading.answerbox__question-user
|
||||
= raw t('views.answerbox.asked', user: user_screen_name(a.question.user, anonymous: a.question.author_is_anonymous), time: time_tooltip(a.question))
|
||||
- if !a.question.author_is_anonymous && a.question.answer_count > 1
|
||||
- unless a.question.author_is_anonymous
|
||||
·
|
||||
%a{ href: show_user_question_path(a.question.user.screen_name, a.question.id) }
|
||||
= pluralize(a.question.answer_count, t('views.general.answer'))
|
||||
|
|
Loading…
Reference in New Issue