From deb35d5013b8777a1bb97dd5827f5dec19a2748c Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 13 Nov 2023 10:11:48 +0200 Subject: [PATCH] add filter attributes support for pagination and tag links #35 --- templates/default/torrent/list.html.twig | 25 ++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/templates/default/torrent/list.html.twig b/templates/default/torrent/list.html.twig index a84e6a8..52e66ae 100644 --- a/templates/default/torrent/list.html.twig +++ b/templates/default/torrent/list.html.twig @@ -80,7 +80,11 @@ {% if torrent.keywords %}
{% for keyword, quantity in torrent.keywords %} - + #{{ keyword }} {% endfor %} @@ -169,17 +173,30 @@ {% if query %} {% if pagination.page > 1 %} {% if pagination.page == 2 %} - + {{ 'Back' | trans | lower }} {% else %} - + {{ 'Back' | trans | lower }} {% endif %} {% endif %} {% if pagination.page < pagination.pages %} - + {{ 'Next' | trans | lower }} {% endif %}