Add total views and description to playlist

This commit is contained in:
syeopite 2021-05-08 19:12:35 -07:00
parent a70839b63f
commit 22f6fe16c3
No known key found for this signature in database
GPG key ID: 6FA616E5A5294A82

View file

@ -31,6 +31,7 @@
<b>
<a href="/channel/<%= playlist.ucid %>"><%= author %></a> |
<%= translate(locale, "`x` videos", "#{playlist.video_count}") %> |
<%= translate(locale, "`x` videos", "#{playlist.views}") %> |
<%= translate(locale, "Updated `x` ago", recode_date(playlist.updated, locale)) %>
</b>
<% end %>
@ -45,6 +46,12 @@
<%= translate(locale, "Switch Invidious Instance") %>
</a>
</div>
<% if !playlist.description_html.empty? %>
<div class="pure-u-1">
<%= playlist.description_html %>
</div>
<% end %>
<% end %>
</div>
<div class="pure-u-1-3" style="text-align:right">