Hide video count for auto-generated channels

This commit is contained in:
Omar Roth
2019-09-12 13:11:21 -04:00
parent 34c43b8349
commit 50d793e49b
3 changed files with 7 additions and 4 deletions

View File

@@ -11,7 +11,7 @@
<p><%= item.author %></p>
</a>
<p><%= translate(locale, "`x` subscribers", number_with_separator(item.subscriber_count)) %></p>
<p><%= translate(locale, "`x` videos", number_with_separator(item.video_count)) %></p>
<% if !item.auto_generated %><p><%= translate(locale, "`x` videos", number_with_separator(item.video_count)) %></p><% end %>
<h5><%= item.description_html %></h5>
<% when SearchPlaylist %>
<% if item.id.starts_with? "RD" %>