3 <%= link_to_remote 'Delete Visible', :url => { :action => 'destroy_all' }, :with => "ExceptionLogger.deleteAll()" %>
4 <% if @exception_pages.page_count > 1 %>
5 :: Pages: <strong><%= pagination_remote_links @exception_pages, :params => { :action => :index } %></strong>
9 <h1>Exceptions <%= "<span>(filtered)</span>" if filtered? %> </h1>
11 <table cellspacing="0">
13 <thead style="display:none;">
21 <% exceptions.each do |exc| -%>
22 <tr id="exception-<%= exc.id %>" class="<%= cycle("eor", "") %> exception">
24 <div class="expclass">
26 <%= link_to_remote "#{exc.exception_class} in #{exc.controller_action}", :url => { :action => 'show', :id => exc } %></div>
27 <span class="message"><%=h exc.message %></span>
30 <td nowrap=nowrap class="time">
32 if Date.today == exc.created_at.to_date
33 if exc.created_at > Time.now - 4.hours
35 <%= time_ago_in_words(exc.created_at).gsub(/about /,"~ ") %> ago
37 Today, <%= exc.created_at.strftime("%l:%M %p") %>
40 <%= exc.created_at.strftime("%b %d, %Y") %>
43 <td><%= link_to_remote 'Delete', {:url => { :action => 'destroy', :id => exc }} , :class => "util" %></td>
51 <% if @exception_pages.page_count > 1 %>
52 <div class="pages pages-bottom">
53 Pages: <strong><%= pagination_remote_links @exception_pages, :params => { :action => :index } %></strong>
58 </div> <!-- #exceptions -->