Add total views and description to playlist

pull/2059/head
syeopite 4 years ago
parent d91eff14d7
commit b906f7a3f8
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82

@ -28,6 +28,7 @@
<b> <b>
<a href="/channel/<%= playlist.ucid %>"><%= playlist.author %></a> | <a href="/channel/<%= playlist.ucid %>"><%= playlist.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 %>
@ -42,6 +43,12 @@
</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…
Cancel
Save