mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Add total views and description to playlist
This commit is contained in:
parent
d91eff14d7
commit
b906f7a3f8
1 changed files with 7 additions and 0 deletions
|
@ -28,6 +28,7 @@
|
|||
<b>
|
||||
<a href="/channel/<%= playlist.ucid %>"><%= playlist.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 %>
|
||||
|
@ -42,6 +43,12 @@
|
|||
</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">
|
||||
|
|
Loading…
Reference in a new issue