<% provide :page_title, "#{t('.title')}" %> <% provide :page_header do %>

<%= t('.title') %>

<% end %>
<% if Hyrax.config.analytics? && Hyrax.config.analytics_provider != 'ga4' %>
<%= t('.repo_summary') %> <%= pluralize(Collection.count, "collection") %>, <%= t('.repo_summary_2') %> <%= @pageviews.all %> <%= t('.views') %> <%= t('.and') %> <%= @downloads.all %> <%= t('.downloads') %>.

<% if params[:start_date] %>
<% else %>
<% end %> <%= render "summary" %>
<%= render "monthly_summary" %>
<% if params[:start_date] %>
<% else %>
<% end %> <%= render "hyrax/admin/analytics/date_range_form", redirect_path: hyrax.admin_analytics_collection_reports_path %> <%= render "custom_range" %>

<%= t('.report_generated_on') %> <%= Time.current %>.

<% else %> <% end %>