Sha256: 1267b656987b3cae0b6f7664e4138d2c9efe63701f837917db14673fcacd3325

Contents?: true

Size: 1.16 KB

Versions: 4

Compression:

Stored size: 1.16 KB

Contents

<%= will_paginate @rows %>
<table id="exceptions" cellpadding="0">
  <tr>
    <th class="count">&nbsp;</th>
    <th class="last_occurred">Occurred</th>
    <th class="exception">Exception</th>
    <th class="links">&nbsp;</th>
  </tr>
  <% @rows.each_with_index do |report, i| %>
    <tr id="<%= report.id %>" class="<%= i.even? ? 'even' : 'odd' %>">
      <td class="count">&nbsp;</td>
      <td class="last_occurred">
        <span class="timestamp"><%= h report.timestamp %></span><br />
        <%= h report.application %><br />
        <%= h report.machine %><br />
      </td>
      <td class="exception">
        <div>
          <% @exception = report %>
          <%= erb :_exception_message %>
          <% if report.backtrace %>
            <br />
            <a href="javascript:$('tr#<%= report.id%> .stacktrace').toggle();">Stack trace</a>
            <div class="stacktrace" style="display:none">
              <pre><code><%= h report.backtrace.join("\n") %></code></pre>
            </div>
          <% end %>
        </div>
      </td>
      <td class="links"><a href="/exceptions/<%= report.id %>.html">View</a></td>
    </tr>
  <% end %>
</table>
<%= will_paginate @rows %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
error_stalker-0.0.16 lib/error_stalker/server/views/_exception_table.erb
error_stalker-0.0.15 lib/error_stalker/server/views/_exception_table.erb
error_stalker-0.0.14 lib/error_stalker/server/views/_exception_table.erb
error_stalker-0.0.13 lib/error_stalker/server/views/_exception_table.erb