diff options
author | James Taylor <user234683@users.noreply.github.com> | 2020-12-17 13:46:29 -0800 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-12-18 23:25:45 -0500 |
commit | 43679efff5c44c41e7e8c6ca46da145becbe7c03 (patch) | |
tree | 3dc9f9c493064ed5f8c06d6d017d2723ededfefa /youtube/templates/channel.html | |
parent | cf7aa4189386a4d4ffd8eb2cc80992fe1603f0c1 (diff) | |
download | yt-local-43679efff5c44c41e7e8c6ca46da145becbe7c03.tar.lz yt-local-43679efff5c44c41e7e8c6ca46da145becbe7c03.tar.xz yt-local-43679efff5c44c41e7e8c6ca46da145becbe7c03.zip |
channel: replace page #s w/ next page button using provided ctoken
Since yt doesn't accept page #'s when sorting by oldest
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'youtube/templates/channel.html')
-rw-r--r-- | youtube/templates/channel.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube/templates/channel.html b/youtube/templates/channel.html index 780b651..252d017 100644 --- a/youtube/templates/channel.html +++ b/youtube/templates/channel.html @@ -105,7 +105,11 @@ <hr/> <footer class="pagination-container"> - {% if current_tab == 'videos' %} + {% if current_tab == 'videos' and current_sort.__str__() == '2' %} + <nav class="next-previous-button-row"> + {{ common_elements.next_previous_ctoken_buttons(None, ctoken, channel_url + '/' + current_tab, parameters_dictionary) }} + </nav> + {% elif current_tab == 'videos' %} <nav class="pagination-list"> {{ common_elements.page_buttons(number_of_pages, channel_url + '/' + current_tab, parameters_dictionary, include_ends=(current_sort.__str__() == '3')) }} </nav> |