Commit 556fff568136f9c0b6189909a0c476d5806e332f
1 parent
31ef4390
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
changed time_ago_as_sentence to time_ago_in_words
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
plugins/video/views/shared/video_list.html.erb
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | <div class="video-gallery-right-column-big"> |
| 15 | 15 | <div class="video-title-big"><%= first_video.title %></div> |
| 16 | 16 | <div class="video-author-big"> |
| 17 | - <%= _("by") %> <%= first_video.author_name %> <%= _("updated at") %> <%= time_ago_as_sentence(first_video.updated_at) %> | |
| 17 | + <%= _("by") %> <%= first_video.author_name %> <%= _("updated at") %> <%= time_ago_in_words(first_video.updated_at) %> | |
| 18 | 18 | </div> |
| 19 | 19 | </div> |
| 20 | 20 | </div> |
| ... | ... | @@ -29,7 +29,7 @@ |
| 29 | 29 | </div> |
| 30 | 30 | <div class="video-gallery-botton-box"> |
| 31 | 31 | <div class="video-author"> |
| 32 | - <%= _("by") %> <%= content.author_name %> <%= _("updated at") %> <%= time_ago_as_sentence(content.updated_at) %> | |
| 32 | + <%= _("by") %> <%= content.author_name %> <%= _("updated at") %> <%= time_ago_in_words(content.updated_at) %> | |
| 33 | 33 | </div> |
| 34 | 34 | <div class="video-title"><%= content.title %></div> |
| 35 | 35 | </div> | ... | ... |