Sha256: 5df25fc15f265c72def6eb3f6a2127364abb3b7fe0d8a8348e19ef105f062b74

Contents?: true

Size: 629 Bytes

Versions: 3

Compression:

Stored size: 629 Bytes

Contents

<% if @metrics.empty? %>
  <h2>No requests so far, navigate on your app and come back.</h2>
<% else %>
  <% content_for(:rails_customerbeats_header) do %>
    <%= pagination_and_scopes_info(:requests) %>
  <% end %>

  <table id="rails_customerbeats_table" class="requests">
    <tr>
      <th>When<br /><%= link_to_order_by_scopes(:earliest, :latest) %></th>
      <th>Method</th>
      <th>Path</th>
      <th>Duration<br /><%= link_to_order_by_scopes(:slowest, :fastest) %></th>
      <th></th>
    </tr>

    <%= render :partial => "request", :collection => @metrics, :as => :metric %>
  </table>

  <% paginate! %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_customerbeats-0.0.5 app/views/rails_customerbeats/index.html.erb
rails_customerbeats-0.0.4 app/views/rails_customerbeats/index.html.erb
rails_customerbeats-0.3 app/views/rails_customerbeats/index.html.erb