Commit 556fff568136f9c0b6189909a0c476d5806e332f

Authored by Evandro Junior
1 parent 31ef4390

changed time_ago_as_sentence to time_ago_in_words

plugins/video/views/shared/video_list.html.erb
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 <div class="video-gallery-right-column-big"> 14 <div class="video-gallery-right-column-big">
15 <div class="video-title-big"><%= first_video.title %></div> 15 <div class="video-title-big"><%= first_video.title %></div>
16 <div class="video-author-big"> 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 </div> 18 </div>
19 </div> 19 </div>
20 </div> 20 </div>
@@ -29,7 +29,7 @@ @@ -29,7 +29,7 @@
29 </div> 29 </div>
30 <div class="video-gallery-botton-box"> 30 <div class="video-gallery-botton-box">
31 <div class="video-author"> 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 </div> 33 </div>
34 <div class="video-title"><%= content.title %></div> 34 <div class="video-title"><%= content.title %></div>
35 </div> 35 </div>