Use accurate sub count when available

This commit is contained in:
Omar Roth 2019-08-21 18:35:54 -05:00
parent 9f9cc1ffb5
commit 4c9975a7d9
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@
<div class="h-box"> <div class="h-box">
<% ucid = channel.ucid %> <% ucid = channel.ucid %>
<% author = channel.author %> <% author = channel.author %>
<% sub_count_text = number_to_short_text(channel.sub_count) %> <% sub_count_text = channel.sub_count.format %>
<%= rendered "components/subscribe_widget" %> <%= rendered "components/subscribe_widget" %>
</div> </div>

View File

@ -33,7 +33,7 @@
<div class="h-box"> <div class="h-box">
<% ucid = channel.ucid %> <% ucid = channel.ucid %>
<% author = channel.author %> <% author = channel.author %>
<% sub_count_text = number_to_short_text(channel.sub_count) %> <% sub_count_text = channel.sub_count.format %>
<%= rendered "components/subscribe_widget" %> <%= rendered "components/subscribe_widget" %>
</div> </div>

View File

@ -33,7 +33,7 @@
<div class="h-box"> <div class="h-box">
<% ucid = channel.ucid %> <% ucid = channel.ucid %>
<% author = channel.author %> <% author = channel.author %>
<% sub_count_text = number_to_short_text(channel.sub_count) %> <% sub_count_text = channel.sub_count.format %>
<%= rendered "components/subscribe_widget" %> <%= rendered "components/subscribe_widget" %>
</div> </div>