From 22f6fe16c3b3aa9508296f73820d4c3d6071ff1f Mon Sep 17 00:00:00 2001 From: syeopite Date: Sat, 8 May 2021 19:12:35 -0700 Subject: [PATCH] Add total views and description to playlist --- src/invidious/views/playlist.ecr | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/invidious/views/playlist.ecr b/src/invidious/views/playlist.ecr index 12f93a72..35b985db 100644 --- a/src/invidious/views/playlist.ecr +++ b/src/invidious/views/playlist.ecr @@ -31,6 +31,7 @@ <%= author %> | <%= translate(locale, "`x` videos", "#{playlist.video_count}") %> | + <%= translate(locale, "`x` videos", "#{playlist.views}") %> | <%= translate(locale, "Updated `x` ago", recode_date(playlist.updated, locale)) %> <% end %> @@ -45,6 +46,12 @@ <%= translate(locale, "Switch Invidious Instance") %> + + <% if !playlist.description_html.empty? %> +
+ <%= playlist.description_html %> +
+ <% end %> <% end %>