|
|
@ -15,7 +15,7 @@ |
|
|
|
<span class="govuk-!-margin-right-4"> |
|
|
|
<span class="govuk-!-margin-right-4"> |
|
|
|
<% if @searched %> |
|
|
|
<% if @searched %> |
|
|
|
<% item_label = @pagy.count > 1 ? "users" : "user" %> |
|
|
|
<% item_label = @pagy.count > 1 ? "users" : "user" %> |
|
|
|
<strong><%= @pagy.count %></strong> <%= item_label %> found matching ‘<%= @searched %>’ of <strong><%= User.count %></strong> total users. |
|
|
|
<strong><%= @pagy.count %></strong> <%= item_label %> found matching ‘<%= @searched %>’ of <strong><%= User.count %></strong> total users. <%= govuk_link_to("Clear search", request.path) %> |
|
|
|
<% else %> |
|
|
|
<% else %> |
|
|
|
<strong><%= @pagy.count %></strong> total users. |
|
|
|
<strong><%= @pagy.count %></strong> total users. |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|