|
|
|
@ -1,10 +1,12 @@
|
|
|
|
|
<% item_label = @pagy.count > 1 ? "users" : "user" %> |
|
|
|
|
<% if @searched.present? %> |
|
|
|
|
<% title = "Your organisation (#{@pagy.count} #{item_label} matching ‘#{@searched}’ of #{@total_count} total users)" %> |
|
|
|
|
<% title = "#{current_user.support? ? 'Users' : current_user.organisation.name} (#{@pagy.count} #{item_label} matching ‘#{@searched}’" %> |
|
|
|
|
<% else %> |
|
|
|
|
<% title = "Your organisation (Users)" %> |
|
|
|
|
<% title = "#{current_user.support? ? 'Users' : current_user.organisation.name}" %> |
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
<% content_for :title, title %> |
|
|
|
|
|
|
|
|
|
<h1 class="govuk-heading-l"> |
|
|
|
|
<% unless current_user.support? %> |
|
|
|
|
<span class="govuk-caption-l"><%= current_user.organisation.name %></span> |
|
|
|
|