Sha256: 561b4ee1596fb0fca00b1ff230cd63ca38a3c6e671c73229bb75d7a26c6a5d46

Contents?: true

Size: 1.19 KB

Versions: 6

Compression:

Stored size: 1.19 KB

Contents

<div class="panel panel-default">
  <div class="panel-heading">
    <h4><%= t('.monthly_subtitle') %> <%= Time.zone.today.strftime("%B %Y") %></h4>
  </div>
  <div class="panel-body">
    <table class="table table-striped">
      <thead>
      <tr>
        <th>&nbsp;</th>
        <% @month_names.each do |name| %>
          <th><%= name %></th>
        <% end %>
      </tr>
      </thead>
      <tbody>
      <% if @pageviews %>    
        <tr>
          <td><b><%= t('.collection_views') %></b></td>
          <% @month_names.each do |name| %>
            <td><%= @pageviews.month(name.to_date) %></td>
          <% end %>
        </tr>
      <% end %>
      <% if @work_page_views %>
        <tr>
          <td><b><%= t('.work_views') %></b></td>
            <% @month_names.each do |name| %>
            <td><%= @work_page_views.month(name.to_date) %></td>
          <% end %>
        </tr>
      <% end %>
      <% if @downloads %>
        <tr>
          <td><b><%= t('.work_downloads') %></b></td>
            <% @month_names.each do |name| %>
            <td><%= @downloads.month(name.to_date) %></td>
          <% end %>
        </tr>
      <% end %>
      
      </tbody>
    </table>
  </div>
</div>




Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hyrax-3.6.0 app/views/hyrax/admin/analytics/collection_reports/_monthly_summary.html.erb
hyrax-3.5.0 app/views/hyrax/admin/analytics/collection_reports/_monthly_summary.html.erb
hyrax-3.4.2 app/views/hyrax/admin/analytics/collection_reports/_monthly_summary.html.erb
hyrax-3.4.1 app/views/hyrax/admin/analytics/collection_reports/_monthly_summary.html.erb
hyrax-3.4.0 app/views/hyrax/admin/analytics/collection_reports/_monthly_summary.html.erb
hyrax-3.3.0 app/views/hyrax/admin/analytics/collection_reports/_monthly_summary.html.erb