Added a previous_page_button preference option and made switching between the first page and previous page buttons possible

This commit is contained in:
RadoslavL
2023-09-30 18:36:43 +03:00
parent 9996d00cb1
commit 5cdbc184c7
9 changed files with 42 additions and 4 deletions

View File

@@ -8,4 +8,14 @@
<%= page_nav_html %>
<script id="pagination-data" type="application/json">
<%=
{
"next_page" => translate(locale, "Next page"),
"prev_page" => translate(locale, "Previous page"),
"is_rtl" => locale_is_rtl?(locale)
}.to_json
%>
</script>
<script src="/js/watched_indicator.js"></script>