Sha256: 08353dab94224cbb512f6abf1300443deabb4c057e7fb8a57dd98da45a297186
Contents?: true
Size: 920 Bytes
Versions: 2
Compression:
Stored size: 920 Bytes
Contents
<% if @metrics.empty? %> <h2>No metrics so far, navigate on your app and come back.</h2> <% else %> <% content_for(:rails_customerbeats_header) do %> <%= pagination_and_scopes_info(:metrics) %> <%= form_tag url_for(params.merge(:action => "destroy_all")), :method => :delete do %> <%= submit_tag "Delete all", :onclick => "return confirm('Are you sure you want to delete those #{@metrics_count} metrics?')" %> <% end %> <% end %> <table id="rails_customerbeats_table" class="all"> <tr> <th>When<br /><%= link_to_order_by_scopes(:earliest, :latest) %></th> <th>Id</th> <th>Name<br /><%= link_to_clear_by_scope(:name) %></th> <th>Duration<br /><%= link_to_order_by_scopes(:slowest, :fastest) %></th> <th>Payload</th> <th></th> </tr> <%= render :partial => "row", :collection => @metrics, :as => :metric %> </table> <% paginate! %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_customerbeats-0.0.5 | app/views/rails_customerbeats/all.html.erb |
rails_customerbeats-0.0.4 | app/views/rails_customerbeats/all.html.erb |