Sha256: e7286cbe14d03a63bce6d4110cbe7765cc7e9bedae30b5d0d8b898fae6259ded

Contents?: true

Size: 923 Bytes

Versions: 7

Compression:

Stored size: 923 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 |fmt| %>
    <li><%= fmt.label %> <span class="count">(<%= fmt.value %>)</span></li>
  <% end %>
</ul>

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sufia-7.1.0 app/views/admin/stats/_top_data.html.erb
sufia-7.0.0 app/views/admin/stats/_top_data.html.erb
sufia-7.0.0.rc2 app/views/admin/stats/_top_data.html.erb
sufia-7.0.0.rc1 app/views/admin/stats/_top_data.html.erb
sufia-7.0.0.beta4 app/views/admin/stats/_top_data.html.erb
sufia-7.0.0.beta3 app/views/admin/stats/_top_data.html.erb
sufia-7.0.0.beta2 app/views/admin/stats/_top_data.html.erb