Sha256: 3184b7b6a0c841fef7831391a5ea2ef1b78ad5c8138c9cbe02da2dc86ccaa79d

Contents?: true

Size: 819 Bytes

Versions: 21

Compression:

Stored size: 819 Bytes

Contents

<!-- Adapted from jquery-flot examples https://github.com/flot/flot/blob/master/examples/visitors/index.html -->
<%= javascript_tag do %>
  var hyrax_item_stats = <%= @stats.to_flot.to_json.html_safe %>;
<% end %>

<%= content_tag :h1, @stats, class: "lower" %>

<div class="row">
  <div class="col-sm-12">
    <%= content_tag :h2, "Work Analytics" %>
    <div class="alert alert-info">
      <i class="glyphicon glyphicon-signal large-icon"></i>
      <%= content_tag :strong, @stats.total_pageviews %> views since <%= @stats.created.strftime("%B %-d, %Y") %>
    </div>
    <div class="stats-container">
      <div id="usage-stats" class="stats-placeholder"></div>
    </div>
    <div class="stats-container" style="height:150px;">
      <div id="overview" class="stats-placeholder"></div>
    </div>
  </div>
</div>

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
hyrax-1.1.0 app/views/hyrax/stats/work.html.erb
hyrax-2.0.2 app/views/hyrax/stats/work.html.erb
hyrax-2.1.0.beta1 app/views/hyrax/stats/work.html.erb
hyrax-2.0.1 app/views/hyrax/stats/work.html.erb
hyrax-2.0.0 app/views/hyrax/stats/work.html.erb
hyrax-2.0.0.rc3 app/views/hyrax/stats/work.html.erb
hyrax-2.0.0.rc2 app/views/hyrax/stats/work.html.erb
hyrax-2.0.0.rc1 app/views/hyrax/stats/work.html.erb
hyrax-1.0.5 app/views/hyrax/stats/work.html.erb
hyrax-2.0.0.beta5 app/views/hyrax/stats/work.html.erb
hyrax-2.0.0.beta4 app/views/hyrax/stats/work.html.erb
hyrax-2.0.0.beta3 app/views/hyrax/stats/work.html.erb
hyrax-2.0.0.beta2 app/views/hyrax/stats/work.html.erb
hyrax-2.0.0.beta1 app/views/hyrax/stats/work.html.erb
hyrax-1.0.4 app/views/hyrax/stats/work.html.erb
hyrax-1.0.3 app/views/hyrax/stats/work.html.erb
hyrax-1.0.2 app/views/hyrax/stats/work.html.erb
hyrax-1.0.1 app/views/hyrax/stats/work.html.erb
hyrax-1.0.0.rc2 app/views/hyrax/stats/work.html.erb
hyrax-1.0.0.rc1 app/views/hyrax/stats/work.html.erb