mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Add total views and description to playlist
This commit is contained in:
parent
a70839b63f
commit
22f6fe16c3
1 changed files with 7 additions and 0 deletions
|
@ -31,6 +31,7 @@
|
||||||
<b>
|
<b>
|
||||||
<a href="/channel/<%= playlist.ucid %>"><%= author %></a> |
|
<a href="/channel/<%= playlist.ucid %>"><%= author %></a> |
|
||||||
<%= translate(locale, "`x` videos", "#{playlist.video_count}") %> |
|
<%= translate(locale, "`x` videos", "#{playlist.video_count}") %> |
|
||||||
|
<%= translate(locale, "`x` videos", "#{playlist.views}") %> |
|
||||||
<%= translate(locale, "Updated `x` ago", recode_date(playlist.updated, locale)) %>
|
<%= translate(locale, "Updated `x` ago", recode_date(playlist.updated, locale)) %>
|
||||||
</b>
|
</b>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -45,6 +46,12 @@
|
||||||
<%= translate(locale, "Switch Invidious Instance") %>
|
<%= translate(locale, "Switch Invidious Instance") %>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<% if !playlist.description_html.empty? %>
|
||||||
|
<div class="pure-u-1">
|
||||||
|
<%= playlist.description_html %>
|
||||||
|
</div>
|
||||||
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<div class="pure-u-1-3" style="text-align:right">
|
<div class="pure-u-1-3" style="text-align:right">
|
||||||
|
|
Loading…
Reference in a new issue