mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Show view count for related videos
This commit is contained in:
parent
42dd6326d5
commit
03891b66b6
1 changed files with 11 additions and 3 deletions
|
@ -184,9 +184,17 @@
|
|||
</div>
|
||||
<% end %>
|
||||
<p style="width:100%"><%= rv["title"] %></p>
|
||||
<p>
|
||||
<b style="width: 100%"><%= rv["author"] %></b>
|
||||
</p>
|
||||
<h5 class="pure-g">
|
||||
<div class="pure-u-14-24">
|
||||
<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>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue