From 002a41da878ced0aab37c4fb01b0a10d5875182b Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 13 Nov 2023 10:37:16 +0200 Subject: [PATCH] add filter link #35 --- templates/default/torrent/list.html.twig | 13 +++++++++++++ translations/messages+intl-icu.cs.xlf | 8 ++++++++ translations/messages+intl-icu.de.xlf | 8 ++++++++ translations/messages+intl-icu.en.xlf | 8 ++++++++ translations/messages+intl-icu.eo.xlf | 8 ++++++++ translations/messages+intl-icu.es.xlf | 8 ++++++++ translations/messages+intl-icu.fr.xlf | 8 ++++++++ translations/messages+intl-icu.he.xlf | 8 ++++++++ translations/messages+intl-icu.it.xlf | 8 ++++++++ translations/messages+intl-icu.ja.xlf | 8 ++++++++ translations/messages+intl-icu.ka.xlf | 8 ++++++++ translations/messages+intl-icu.lv.xlf | 8 ++++++++ translations/messages+intl-icu.nl.xlf | 8 ++++++++ translations/messages+intl-icu.pl.xlf | 8 ++++++++ translations/messages+intl-icu.pt.xlf | 8 ++++++++ translations/messages+intl-icu.ru.xlf | 8 ++++++++ translations/messages+intl-icu.uk.xlf | 8 ++++++++ 17 files changed, 141 insertions(+) diff --git a/templates/default/torrent/list.html.twig b/templates/default/torrent/list.html.twig index 52e66ae..9ea36aa 100644 --- a/templates/default/torrent/list.html.twig +++ b/templates/default/torrent/list.html.twig @@ -5,6 +5,19 @@ {% if query %}

{{ 'Search results' | trans }}

+ {% if app.request.get('filter') %} + + + + + + {% else %} + + + + + + {% endif %} diff --git a/translations/messages+intl-icu.cs.xlf b/translations/messages+intl-icu.cs.xlf index b34a837..e40a671 100644 --- a/translations/messages+intl-icu.cs.xlf +++ b/translations/messages+intl-icu.cs.xlf @@ -901,6 +901,14 @@ other other + + Hide filter + Hide filter + + + Show filter + Show filter + diff --git a/translations/messages+intl-icu.de.xlf b/translations/messages+intl-icu.de.xlf index 2137691..812f8a6 100644 --- a/translations/messages+intl-icu.de.xlf +++ b/translations/messages+intl-icu.de.xlf @@ -901,6 +901,14 @@ other other + + Hide filter + Hide filter + + + Show filter + Show filter + diff --git a/translations/messages+intl-icu.en.xlf b/translations/messages+intl-icu.en.xlf index e4658e8..0a0423b 100644 --- a/translations/messages+intl-icu.en.xlf +++ b/translations/messages+intl-icu.en.xlf @@ -901,6 +901,14 @@ other other + + Hide filter + Hide filter + + + Show filter + Show filter + diff --git a/translations/messages+intl-icu.eo.xlf b/translations/messages+intl-icu.eo.xlf index a9ea8be..e0cdbef 100644 --- a/translations/messages+intl-icu.eo.xlf +++ b/translations/messages+intl-icu.eo.xlf @@ -901,6 +901,14 @@ other other + + Hide filter + Hide filter + + + Show filter + Show filter + diff --git a/translations/messages+intl-icu.es.xlf b/translations/messages+intl-icu.es.xlf index a5f441d..9e1edee 100644 --- a/translations/messages+intl-icu.es.xlf +++ b/translations/messages+intl-icu.es.xlf @@ -901,6 +901,14 @@ other other + + Hide filter + Hide filter + + + Show filter + Show filter + diff --git a/translations/messages+intl-icu.fr.xlf b/translations/messages+intl-icu.fr.xlf index 55a2fc0..82dd5c3 100644 --- a/translations/messages+intl-icu.fr.xlf +++ b/translations/messages+intl-icu.fr.xlf @@ -901,6 +901,14 @@ other other + + Hide filter + Hide filter + + + Show filter + Show filter + diff --git a/translations/messages+intl-icu.he.xlf b/translations/messages+intl-icu.he.xlf index bb9127f..faad62a 100644 --- a/translations/messages+intl-icu.he.xlf +++ b/translations/messages+intl-icu.he.xlf @@ -901,6 +901,14 @@ other other + + Hide filter + Hide filter + + + Show filter + Show filter + diff --git a/translations/messages+intl-icu.it.xlf b/translations/messages+intl-icu.it.xlf index 4a27c88..6411b4c 100644 --- a/translations/messages+intl-icu.it.xlf +++ b/translations/messages+intl-icu.it.xlf @@ -901,6 +901,14 @@ other other + + Hide filter + Hide filter + + + Show filter + Show filter + diff --git a/translations/messages+intl-icu.ja.xlf b/translations/messages+intl-icu.ja.xlf index d94fbba..ccacd9a 100644 --- a/translations/messages+intl-icu.ja.xlf +++ b/translations/messages+intl-icu.ja.xlf @@ -901,6 +901,14 @@ other other + + Hide filter + Hide filter + + + Show filter + Show filter + diff --git a/translations/messages+intl-icu.ka.xlf b/translations/messages+intl-icu.ka.xlf index dfaece0..a13adb1 100644 --- a/translations/messages+intl-icu.ka.xlf +++ b/translations/messages+intl-icu.ka.xlf @@ -901,6 +901,14 @@ other other + + Hide filter + Hide filter + + + Show filter + Show filter + diff --git a/translations/messages+intl-icu.lv.xlf b/translations/messages+intl-icu.lv.xlf index b2f07df..23be2cd 100644 --- a/translations/messages+intl-icu.lv.xlf +++ b/translations/messages+intl-icu.lv.xlf @@ -901,6 +901,14 @@ other other + + Hide filter + Hide filter + + + Show filter + Show filter + diff --git a/translations/messages+intl-icu.nl.xlf b/translations/messages+intl-icu.nl.xlf index 85f3f3f..da9f1cb 100644 --- a/translations/messages+intl-icu.nl.xlf +++ b/translations/messages+intl-icu.nl.xlf @@ -901,6 +901,14 @@ other other + + Hide filter + Hide filter + + + Show filter + Show filter + diff --git a/translations/messages+intl-icu.pl.xlf b/translations/messages+intl-icu.pl.xlf index 80f6e6a..b44a926 100644 --- a/translations/messages+intl-icu.pl.xlf +++ b/translations/messages+intl-icu.pl.xlf @@ -901,6 +901,14 @@ other other + + Hide filter + Hide filter + + + Show filter + Show filter + diff --git a/translations/messages+intl-icu.pt.xlf b/translations/messages+intl-icu.pt.xlf index f046b79..abc2faf 100644 --- a/translations/messages+intl-icu.pt.xlf +++ b/translations/messages+intl-icu.pt.xlf @@ -901,6 +901,14 @@ other other + + Hide filter + Hide filter + + + Show filter + Show filter + diff --git a/translations/messages+intl-icu.ru.xlf b/translations/messages+intl-icu.ru.xlf index 81d2f09..7f4c64b 100644 --- a/translations/messages+intl-icu.ru.xlf +++ b/translations/messages+intl-icu.ru.xlf @@ -901,6 +901,14 @@ other другое + + Hide filter + Скрыть фильтр + + + Show filter + Показать фильтр + diff --git a/translations/messages+intl-icu.uk.xlf b/translations/messages+intl-icu.uk.xlf index 8322f03..49159d2 100644 --- a/translations/messages+intl-icu.uk.xlf +++ b/translations/messages+intl-icu.uk.xlf @@ -901,6 +901,14 @@ other інше + + Hide filter + Приховати фільтр + + + Show filter + Показати фільтр +