mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Also propagate changes to watch ECR page
This commit is contained in:
parent
eca8d2e7d7
commit
ba37259258
1 changed files with 5 additions and 5 deletions
|
@ -321,11 +321,11 @@ we're going to need to do it here in order to allow for translations.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="pure-u-10-24" style="text-align:right">
|
<div class="pure-u-10-24" style="text-align:right">
|
||||||
<% if views = rv["short_view_count_text"]?.try &.delete(", views watching") %>
|
<b class="width:100%"><%=
|
||||||
<% if !views.empty? %>
|
views = rv["view_count"]?.try &.to_i?
|
||||||
<b class="width:100%"><%= translate_count(locale, "generic_views_count", views.to_i? || 0) %></b>
|
views ||= rv["view_count_short"]?.try { |x| short_text_to_number(x) }
|
||||||
<% end %>
|
translate_count(locale, "generic_views_count", views || 0, NumberFormatting::Short)
|
||||||
<% end %>
|
%></b>
|
||||||
</div>
|
</div>
|
||||||
</h5>
|
</h5>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue