diff --git a/app/views/case_logs/index.html.erb b/app/views/case_logs/index.html.erb index 37a09e325..1288fcc37 100644 --- a/app/views/case_logs/index.html.erb +++ b/app/views/case_logs/index.html.erb @@ -1,16 +1,16 @@ <% item_label = @pagy.count > 1 ? "logs" : "log" %> <% if @searched.present? %> - <% title = "Your organisation (#{@pagy.count} #{item_label} matching ‘#{@searched}’ of #{@total_count} total logs)" %> + <% title = "Logs (search results for ‘#{@searched}’#{ true ? ", page #{@pagy.from} of #{@pagy.last}" : ""}) - Submit social housing and sales data (CORE) - GOV.UK" %> <% else %> - <% title = "Your organisation (Logs)" %> + <% title = "Logs - #{@pagy.count > 1 ? "(page #{@pagy.from} of #{@pagy.last})" : "" } Submit social housing and sales data (CORE) - GOV.UK" %> <% end %> -<% content_for :title, "Logs" %> +<% content_for :title, title %> -

- <%= content_for(:title) %> -

+<% content_for :tab_title do %> + <%= "Logs" %> +<% end %>