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

<%= t('.title') %> <%= link_to "#{t('.return_to_btn')}", admin_analytics_work_reports_path, class: "btn btn-primary pull-right" %>


<% end %>

<%= @document %>

<%= link_to "#{t('.view_work_btn')}", [main_app, @document], class: "btn btn-default pull-right" %>

<%= t('.deposited_by') %> <%= @document.depositor %> on <%= @document.date_uploaded.strftime("%Y-%m-%d") %>

<%= t('.work_type') %> <%= @document.human_readable_type %>

<%= t('.resource_type') %> <%= @document.resource_type.join(", ") %>

<%= t('.status') %> <%= @document.workflow_state %>

<%= t('.visibility') %> <%= @document.visibility %>


<% 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_work_report_path(@document) %> <%= render "custom_range" %>
<% unless @files.nil? %> <%= render "work_files" %> <%= render "work_counts" %> <% end %>