Skip to content

Commit

Permalink
UHF-8839: Add empty text to focusable area
Browse files Browse the repository at this point in the history
  • Loading branch information
xkhaven committed Sep 20, 2023
1 parent c28a390 commit 526352c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions templates/views/views-view--unit-search.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,17 @@
{{ attachment_before }}

<div class="unit-search__results" data-id-number="{{ dom_id }}">
{% if total_rows %}
<span class="unit-search__count-container">
<span class="unit-search__count">{{ total_rows }}</span>
{% trans with {'context': 'Unit search count'}%}result{% plural total_rows %}results{% endtrans %}
{% if total_rows %}
<span class="unit-search__count">{{ total_rows }}</span>
{% trans with {'context': 'Unit search count'}%}result{% plural total_rows %}results{% endtrans %}
{% endif %}

{{ empty }}
</span>
{% endif %}

{{ rows }}

{{ empty }}
{{ pager }}
</div>
{{ attachment_after }}
Expand Down

0 comments on commit 526352c

Please sign in to comment.