From 589a35ccc06b777b245d049f77e1d3e8eab54826 Mon Sep 17 00:00:00 2001 From: Krister Haverinen Date: Thu, 21 Sep 2023 15:01:41 +0300 Subject: [PATCH] UHF-8839: Add views id for search results. Unify dom structure. --- .../views-view--service-list--block-search.html.twig | 10 ++++++---- ...w-unformatted--service-list--block-search.html.twig | 2 -- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/views/views-view--service-list--block-search.html.twig b/templates/views/views-view--service-list--block-search.html.twig index 9a2ca9cb4..cfd9bb22b 100644 --- a/templates/views/views-view--service-list--block-search.html.twig +++ b/templates/views/views-view--service-list--block-search.html.twig @@ -52,10 +52,12 @@ {% if is_ajax_request or total_rows > pager_items_per_page %} {{ exposed }} - - {{ total_rows ?? 0 }} - {% trans with {'context': 'Service list count'}%}service{% plural total_rows %}services{% endtrans %} - +
+ + {{ total_rows ?? 0 }} + {% trans with {'context': 'Service list count'}%}service{% plural total_rows %}services{% endtrans %} + +
{% endif %} {{ attachment_before }} diff --git a/templates/views/views-view-unformatted--service-list--block-search.html.twig b/templates/views/views-view-unformatted--service-list--block-search.html.twig index e679cd671..1b1c8b85f 100644 --- a/templates/views/views-view-unformatted--service-list--block-search.html.twig +++ b/templates/views/views-view-unformatted--service-list--block-search.html.twig @@ -16,10 +16,8 @@ */ #} -
{% for row in rows %}
{{- row.content -}}
{% endfor %} -