Fix "other" comment notification case not linking to answer

This commit is contained in:
Andreas Nedbal 2022-08-30 22:56:13 +02:00
parent dbaa6137dc
commit d867352bf7
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
- else - else
= t(".heading_html", = t(".heading_html",
user: user_screen_name(notification.target.user), user: user_screen_name(notification.target.user),
answer: link_to(t(".other.link_text_html", user: user_screen_name(notification.target.answer.user)), answer_path(username: notification.target.user.screen_name, id: notification.target.answer.id)), answer: link_to(t(".other.link_text_html", user: user_screen_name(notification.target.answer.user, url: false)), answer_path(username: notification.target.user.screen_name, id: notification.target.answer.id)),
time: time_tooltip(notification.target)) time: time_tooltip(notification.target))
.list-group .list-group
.list-group-item .list-group-item