From b3956c7c4d59b79fcea7cb740968ea04eff3b5ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 10 Sep 2022 00:30:24 +0200 Subject: [PATCH] Added an accordion item to search results list, which shows the used search results --- templates/Parts/lists/search_list.html.twig | 71 ++++++++++++++++++++- translations/messages.en.xlf | 12 ++++ 2 files changed, 81 insertions(+), 2 deletions(-) diff --git a/templates/Parts/lists/search_list.html.twig b/templates/Parts/lists/search_list.html.twig index e070341a..cbc1fd4d 100644 --- a/templates/Parts/lists/search_list.html.twig +++ b/templates/Parts/lists/search_list.html.twig @@ -1,12 +1,79 @@ {% extends "base.html.twig" %} {% block title %} -{% trans %}parts_list.search.title{% endtrans %}: {{ keyword }} + {% trans %}parts_list.search.title{% endtrans %}: {{ keyword }} {% endblock %} {% block content %} -
+
+
+
+ +
+
+
+

{% trans with {"%keyword%": keyword} %}parts_list.search.searching_for{% endtrans %}

+ {% trans %}parts_list.search_options.caption{% endtrans %}: + + +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+
+
+ + {% include "Parts/lists/_filter.html.twig" %}
diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf index 81e2113a..b28f8df3 100644 --- a/translations/messages.en.xlf +++ b/translations/messages.en.xlf @@ -9681,5 +9681,17 @@ Element 3 Lot description + + + parts_list.search.searching_for + %keyword%]]> + + + + + parts_list.search_options.caption + Enabled search options + +