From 526352c90c45458ae835ff048a36387f1269f0ad Mon Sep 17 00:00:00 2001 From: Krister Haverinen Date: Wed, 20 Sep 2023 14:32:40 +0300 Subject: [PATCH] UHF-8839: Add empty text to focusable area --- templates/views/views-view--unit-search.html.twig | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/templates/views/views-view--unit-search.html.twig b/templates/views/views-view--unit-search.html.twig index bd0c0d843..a40d2256e 100644 --- a/templates/views/views-view--unit-search.html.twig +++ b/templates/views/views-view--unit-search.html.twig @@ -55,16 +55,17 @@ {{ attachment_before }}
- {% if total_rows %} - {{ total_rows }} - {% trans with {'context': 'Unit search count'}%}result{% plural total_rows %}results{% endtrans %} + {% if total_rows %} + {{ total_rows }} + {% trans with {'context': 'Unit search count'}%}result{% plural total_rows %}results{% endtrans %} + {% endif %} + + {{ empty }} - {% endif %} {{ rows }} - {{ empty }} {{ pager }}
{{ attachment_after }}