Sha256: 96edbd65efd21f5f7a8edcc4b8e3785a32c73e528c0921c7aa7aa433be5e04a0
Contents?: true
Size: 1.2 KB
Versions: 6
Compression:
Stored size: 1.2 KB
Contents
<div class="panel panel-default"> <div class="panel-heading"><h4><%= t('.summary_heading') %></h4></div> <div class="panel-body"> <table class="table table-striped"> <thead> <tr> <th> </th> <th><%= @start_date.to_date.strftime("%B %d, %Y") %> through <%= @end_date.to_date.strftime("%B %d, %Y") %></th> </tr> </thead> <tbody> <% if @pageviews %> <tr> <td><b><%= t('.collection_home_page_views') %></b></td> <td><%= @pageviews.range(@start_date.to_date, @end_date.to_date) %></td> </tr> <% end %> <% if @work_page_views %> <tr> <td><b><%= t('.work_views') %></b></td> <td><%= @work_page_views.range(@start_date.to_date, @end_date.to_date) %></td> </tr> <% end %> <% if @downloads %> <tr> <td><b><%= t('.work_downloads') %></b></td> <td><%= @downloads.range(@start_date.to_date, @end_date.to_date) %></td> </tr> <% end %> </tbody> </table> </div> </div> <% if params[:start_date] %> <% if @top_collections %> <%= render 'top_collections' %> <% end %> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems