Translate post time for answerbox comments
This commit is contained in:
parent
437e72a322
commit
1caac0e2db
|
@ -13,8 +13,7 @@
|
||||||
%h6.media-heading.comment__user
|
%h6.media-heading.comment__user
|
||||||
= user_screen_name comment.user
|
= user_screen_name comment.user
|
||||||
%span.text-muted{ title: comment.created_at, data: { toggle: :tooltip, placement: :right } }
|
%span.text-muted{ title: comment.created_at, data: { toggle: :tooltip, placement: :right } }
|
||||||
= time_ago_in_words(comment.created_at)
|
= t("time.distance_ago", time: time_ago_in_words(comment.created_at))
|
||||||
ago
|
|
||||||
.comment__content
|
.comment__content
|
||||||
= markdown comment.content
|
= markdown comment.content
|
||||||
.pull-right
|
.pull-right
|
||||||
|
|
Loading…
Reference in New Issue