From c46853c6f355735a727d180a816ce6f93ac6180a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20S=C4=85gol?= Date: Thu, 14 Dec 2023 16:50:51 +0100 Subject: [PATCH] #4 Link each version badge on the search list to the corresponding page --- templates/search/search.html.twig | 70 ++++++++++++++++++------------- 1 file changed, 40 insertions(+), 30 deletions(-) diff --git a/templates/search/search.html.twig b/templates/search/search.html.twig index b5f2153..2e6662e 100644 --- a/templates/search/search.html.twig +++ b/templates/search/search.html.twig @@ -68,38 +68,48 @@ var searchCount = {{ results.totalResults }}; {% if results.totalResults > 0 %} -

Showing hits {{ results.startingAtItem }} to {{ results.endingAtItem }} of {{ results.totalResults }}

-
- -
- {% else %}

No search results found for: {{ q }}

{% endif %}