Sha256: 08fc8a8de458eecd65eb282cd64213f4b9876b67d43433b6330474e62974bddd
Contents?: true
Size: 1.25 KB
Versions: 15
Compression:
Stored size: 1.25 KB
Contents
<div class="card"> <div class="card-header"><h4><%= t('.summary_heading') %></h4></div> <div class="card-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('.page_views') %></b></td> <td><%= @pageviews.range(@start_date.to_date, @end_date.to_date) %></td> </tr> <% end %> <% if @downloads %> <tr> <td><b><%= t('.file_downloads') %></b></td> <td><%= @downloads.range(@start_date.to_date, @end_date.to_date) %></td> </tr> <% end %> <% if @uniques %> <tr> <td><b><%= t('.unique_visitors') %></b></td> <td><%= @uniques.range(@start_date.to_date, @end_date.to_date) %></td> </tr> <% end %> </tbody> </table> </div> </div> <% if params[:start_date] %> <% if @top_works %> <div><%= render 'top_works' %></div> <% end %> <% if @top_file_set_downloads %> <div><%= render 'top_file_set_downloads' %></div> <% end %> <% end %>
Version data entries
15 entries across 15 versions & 1 rubygems