diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-11-19 17:34:33 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-11-19 17:34:33 -0600 |
| commit | b535de690e494aeb38ecb9db57ee173dd896bdb2 (patch) | |
| tree | c239ca9221a5ae00a5a8ab8e7ba57cf89e38905e | |
| parent | c1a60392ae374aa081a8f1e0b6fb6b0e863f10d6 (diff) | |
| download | invidious-b535de690e494aeb38ecb9db57ee173dd896bdb2.tar.gz invidious-b535de690e494aeb38ecb9db57ee173dd896bdb2.tar.bz2 invidious-b535de690e494aeb38ecb9db57ee173dd896bdb2.zip | |
Move video count into playlist thumbnail
| -rw-r--r-- | src/invidious/views/components/item.ecr | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/invidious/views/components/item.ecr b/src/invidious/views/components/item.ecr index 89094db3..02aea742 100644 --- a/src/invidious/views/components/item.ecr +++ b/src/invidious/views/components/item.ecr @@ -25,6 +25,7 @@ <% else %> <div class="thumbnail"> <img class="thumbnail" src="/vi/<%= item.videos[0]?.try &.id %>/mqdefault.jpg"/> + <p class="length"><%= number_with_separator(item.video_count) %> videos</p> </div> <% end %> <p><%= item.title %></p> @@ -32,8 +33,6 @@ <p> <b><a style="width:100%;" href="/channel/<%= item.ucid %>"><%= item.author %></a></b> </p> - <p><%= number_with_separator(item.video_count) %> videos</p> - <p>PLAYLIST</p> <% when MixVideo %> <a style="width:100%;" href="/watch?v=<%= item.id %>&list=<%= item.mixes[0] %>"> <% if env.get?("user") && env.get("user").as(User).preferences.thin_mode %> |
