use time_tooltip for comments, fixes #1650
This commit is contained in:
parent
fcfc28978c
commit
96794029b3
|
@ -11,8 +11,9 @@
|
||||||
.flex-grow-1
|
.flex-grow-1
|
||||||
%h6.comment__user
|
%h6.comment__user
|
||||||
= user_screen_name comment.user
|
= user_screen_name comment.user
|
||||||
%span.text-muted{ title: comment.created_at, data: { bs_toggle: :tooltip, bs_placement: :right } }
|
%span.text-muted
|
||||||
= t("time.distance_ago", time: time_ago_in_words(comment.created_at))
|
·
|
||||||
|
= time_tooltip comment
|
||||||
.comment__content
|
.comment__content
|
||||||
= markdown comment.content
|
= markdown comment.content
|
||||||
.flex-shrink-0.ms-auto
|
.flex-shrink-0.ms-auto
|
||||||
|
|
Loading…
Reference in New Issue