Sha256: 149624e2bdc7f5b53e0fe41963a4b7e75ab9c4c49e8e6e1d111aa57a5e560ec1
Contents?: true
Size: 943 Bytes
Versions: 6
Compression:
Stored size: 943 Bytes
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> </th> <% @month_names.each do |name| %> <th><%= name %></th> <% end %> </tr> </thead> <tbody> <% if @pageviews %> <tr> <td><b><%= t('.page_views') %></b></td> <% @month_names.each do |name| %> <td><%= @pageviews.month(name.to_date) %></td> <% end %> </tr> <% end %> <% if @downloads %> <tr> <td><b><%= t('.file_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