mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 14:39:52 +01:00
Translate post time for answerbox comments
This commit is contained in:
parent
437e72a322
commit
1caac0e2db
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue