Sha256: 6f2a2e37cd07c8b0744ec6939eaffb415b67ac5f4d584331f9398a6f39ab3d0f

Contents?: true

Size: 1.24 KB

Versions: 7

Compression:

Stored size: 1.24 KB

Contents

- content_for :breadcrumbs do
  = breadcrumbs(["Event Details", whoops_event_group_path(@event_group)])
  
- content_for :sidebar do
  .space
    %h3 Instances
    = will_paginate @event, :previous_label => "", :next_label => ""
    %ul#instances
      - @events.each_with_index do |event, index|
        %li{:class => ("selected" if index == 0)}= link_to event.event_time.to_s(:whoops_default), event
  .space
    %h3.info-revealer
      Search
      = image_tag "/images/_ui/icn_info.png"
    %form
      %ul
        %li.info
          For more on searching, see "Search Event Details" in the 
          = link_to "README", "https://github.com/flyingmachine/whoops/blob/master/README.asciidoc"
        %li= text_area_tag :query, params[:query]
        %li
          %button search
          %button reset

%article.module.width_full
  %header
    %h3= @event_group.message
  %table
    - [:environment, :event_type, :last_recorded_at].each do |field|
      %tr
        %td.label= field.to_s.humanize
        %td= @event_group.send(field)

%article.module.width_full
  %header
    %h3 Details
  #event-details
    - if @events.empty?
      %p Your search returned no results.
    - else 
      = render :partial => "events/details", :object => @events.first, :as => :event

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
whoops-0.1.10 app/views/events/index.html.haml
whoops-0.1.9 app/views/events/index.html.haml
whoops-0.1.8 app/views/events/index.html.haml
whoops-0.1.7 app/views/events/index.html.haml
whoops-0.1.6 app/views/events/index.html.haml
whoops-0.1.5 app/views/events/index.html.haml
whoops-0.1.4 app/views/events/index.html.haml