From 96794029b3a7d685809699302c851a900ca80a80 Mon Sep 17 00:00:00 2001 From: Georg Gadinger Date: Sat, 9 Mar 2024 14:34:24 +0100 Subject: [PATCH] use time_tooltip for comments, fixes #1650 --- app/views/answerbox/_comments.html.haml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/answerbox/_comments.html.haml b/app/views/answerbox/_comments.html.haml index c1c2a2de..04aa7b7f 100644 --- a/app/views/answerbox/_comments.html.haml +++ b/app/views/answerbox/_comments.html.haml @@ -11,8 +11,9 @@ .flex-grow-1 %h6.comment__user = user_screen_name comment.user - %span.text-muted{ title: comment.created_at, data: { bs_toggle: :tooltip, bs_placement: :right } } - = t("time.distance_ago", time: time_ago_in_words(comment.created_at)) + %span.text-muted + ยท + = time_tooltip comment .comment__content = markdown comment.content .flex-shrink-0.ms-auto