Show view count for related videos

このコミットが含まれているのは:
Omar Roth 2019-04-28 12:07:19 -05:00
コミット 03891b66b6
1個のファイルの変更11行の追加3行の削除

ファイルの表示

@ -184,9 +184,17 @@
</div> </div>
<% end %> <% end %>
<p style="width:100%"><%= rv["title"] %></p> <p style="width:100%"><%= rv["title"] %></p>
<p> <h5 class="pure-g">
<b style="width: 100%"><%= rv["author"] %></b> <div class="pure-u-14-24">
</p> <b style="width:100%"><%= rv["author"] %></b>
</div>
<div class="pure-u-10-24" style="text-align:right">
<% if views = rv["short_view_count_text"]?.try &.delete(", views") %>
<b class="width:100%"><%= translate(locale, "`x` views", views) %></b>
<% end %>
</div>
</h5>
</a> </a>
<% end %> <% end %>
<% end %> <% end %>