Sha256: a2ab4b50e140863a4f000d114144d26c3abd76149a0b11652725754dc0aa5059

Contents?: true

Size: 890 Bytes

Versions: 6

Compression:

Stored size: 890 Bytes

Contents

<h2>Top File Formats and Users</h2>
<h3>Statistics in this section shows the top <%= @presenter.limit %> items for each category</h3>
<% if @presenter.limit == 5 %>
  <p><%= link_to "View top 20", Sufia::Engine.routes.url_for(controller: "admin/stats", action:"index", limit: "20", only_path: true) %> </p>
<% else %>
  <p><%= link_to "View top 5", Sufia::Engine.routes.url_for(controller: "admin/stats", action:"index", only_path: true) %> </p>
<% end %>

<h3>Top File Formats (top <%= @presenter.top_formats.count %>)</h3>
<ul>
  <% @presenter.top_formats.each do |k, v| %>
    <li><%= k %> <span class="count">(<%= v %>)</span></li>
  <% end %>
</ul>

<br/>
<h3>Most Active Users (top <%= @presenter.active_users.count %>)</h3>
<ul>
  <% @presenter.active_users.each do |k, v| %>
    <li>
      <%= link_to_profile(k) %> <span class="count">(<%= v %>)</span>
    </li>
  <% end %>
</ul>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sufia-6.7.0 app/views/admin/stats/_top_data.html.erb
sufia-7.0.0.beta1 app/views/admin/stats/_top_data.html.erb
sufia-6.6.1 app/views/admin/stats/_top_data.html.erb
sufia-6.6.0 app/views/admin/stats/_top_data.html.erb
sufia-6.5.0 app/views/admin/stats/_top_data.html.erb
sufia-6.4.0 app/views/admin/stats/_top_data.html.erb