Sha256: 116261821f7d0bd4bf1015fd75a8a4bf40c90a045179e3360db44f504a14eb0c

Contents?: true

Size: 735 Bytes

Versions: 15

Compression:

Stored size: 735 Bytes

Contents

<div class="row">
  <div class="col-12 work-counts">
    <div class="work-count-border col-sm-2 offset-sm-3 float-left text-center">
       <% @file_sizes_total_bytes = @file_sizes.inject(0, :+) %>
       <% @file_size_total = (@file_sizes_total_bytes / 1.0.megabyte).round(2) %>
      <h4 class="work-count-title"><%= @file_size_total %>MB</p>
      <p><%= t('.total_size') %></p>
    </div>
    <div class="work-count-border col-sm-2 float-left text-center">
      <h4 class="work-count-title"></p>
      <p><%= t('.child_works') %></p>
    </div>
    <div class="work-count-border col-sm-2 float-left text-center">
      <h4 class="work-count-title"><%= @files.count %></p>
      <p><%= t('.files') %></p>
    </div>
  </div>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 app/views/hyrax/admin/analytics/work_reports/_work_counts.html.erb
hyrax-5.0.4 app/views/hyrax/admin/analytics/work_reports/_work_counts.html.erb
hyrax-5.0.3 app/views/hyrax/admin/analytics/work_reports/_work_counts.html.erb
hyrax-5.0.2 app/views/hyrax/admin/analytics/work_reports/_work_counts.html.erb
hyrax-5.0.1 app/views/hyrax/admin/analytics/work_reports/_work_counts.html.erb
hyrax-5.0.0 app/views/hyrax/admin/analytics/work_reports/_work_counts.html.erb
hyrax-5.0.0.rc3 app/views/hyrax/admin/analytics/work_reports/_work_counts.html.erb
hyrax-5.0.0.rc2 app/views/hyrax/admin/analytics/work_reports/_work_counts.html.erb
hyrax-5.0.0.rc1 app/views/hyrax/admin/analytics/work_reports/_work_counts.html.erb
hyrax-4.0.0 app/views/hyrax/admin/analytics/work_reports/_work_counts.html.erb
hyrax-4.0.0.rc3 app/views/hyrax/admin/analytics/work_reports/_work_counts.html.erb
hyrax-4.0.0.rc2 app/views/hyrax/admin/analytics/work_reports/_work_counts.html.erb
hyrax-4.0.0.rc1 app/views/hyrax/admin/analytics/work_reports/_work_counts.html.erb
hyrax-4.0.0.beta2 app/views/hyrax/admin/analytics/work_reports/_work_counts.html.erb
hyrax-4.0.0.beta1 app/views/hyrax/admin/analytics/work_reports/_work_counts.html.erb