Browse Source

correct title

pull/608/head
JG 3 years ago
parent
commit
e605c667e3
  1. 12
      app/views/case_logs/index.html.erb

12
app/views/case_logs/index.html.erb

@ -1,16 +1,16 @@
<% item_label = @pagy.count > 1 ? "logs" : "log" %> <% item_label = @pagy.count > 1 ? "logs" : "log" %>
<% if @searched.present? %> <% 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 %> <% 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 %> <% end %>
<% content_for :title, "Logs" %> <% content_for :title, title %>
<h1 class="govuk-heading-l"> <% content_for :tab_title do %>
<%= content_for(:title) %> <%= "Logs" %>
</h1> <% end %>
<div class="app-filter-layout" data-controller="filter-layout"> <div class="app-filter-layout" data-controller="filter-layout">
<div class="govuk-button-group app-filter-toggle"> <div class="govuk-button-group app-filter-toggle">

Loading…
Cancel
Save