Remove extra 'next page' button at then end of a playlist

This commit is contained in:
Samantaz Fox
2021-03-23 02:25:47 +00:00
parent 3e88b72316
commit 23e5b6ba72
2 changed files with 8 additions and 1 deletions

View File

@@ -103,7 +103,7 @@
</div>
<div class="pure-u-1 pure-u-lg-3-5"></div>
<div class="pure-u-1 pure-u-lg-1-5" style="text-align:right">
<% if videos.size == 100 %>
<% if page_count != 1 && page < page_count %>
<a href="/playlist?list=<%= playlist.id %>&page=<%= page + 1 %>">
<%= translate(locale, "Next page") %>
</a>