From e549b5f67c4beff421a2b2b36f3b5031bfe8ed88 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Fri, 5 Mar 2021 23:27:31 -0800 Subject: Channel: Allow going to next pages of playlists page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Uses previous and next buttons. Now can view more than just first page of playlists page Signed-off-by: Jesús --- youtube/templates/channel.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'youtube/templates') diff --git a/youtube/templates/channel.html b/youtube/templates/channel.html index 252d017..294f1df 100644 --- a/youtube/templates/channel.html +++ b/youtube/templates/channel.html @@ -78,6 +78,11 @@
{{ number_of_videos }} videos
{% elif current_tab == 'playlists' %} {% set sorts = [('2', 'oldest'), ('3', 'newest'), ('4', 'last video added')] %} + {% if items %} +

Page {{ page_number }}

+ {% else %} +

No items

+ {% endif %} {% elif current_tab == 'search' %} {% if items %}

Page {{ page_number }}

@@ -113,7 +118,7 @@ - {% elif current_tab == 'search' %} + {% elif current_tab == 'playlists' or current_tab == 'search' %} -- cgit v1.2.3