13 lines
556 B
13 lines
556 B
<span> |
|
<% if searched.present? && filters_count&.positive? %> |
|
<strong><%= count %></strong> <%= item_label.pluralize(count) %> matching search and filters<br> |
|
<% elsif searched.present? %> |
|
<strong><%= count %></strong> <%= item_label.pluralize(count) %> matching search<br> |
|
<% elsif filters_count&.positive? %> |
|
<strong><%= count %></strong> <%= item_label.pluralize(count) %> matching filters<br> |
|
<% else %> |
|
<span class="govuk-!-margin-right-4"> |
|
<strong><%= count %></strong> total <%= item %> |
|
</span> |
|
<% end %> |
|
</span>
|
|
|