Sha256: a71b2ebfc063c4f6b323d048eed99e77587c6cfbfdc6694d38bab6d9804b9779

Contents?: true

Size: 909 Bytes

Versions: 2

Compression:

Stored size: 909 Bytes

Contents

= paginate(@event_groups)

.clearfix
%table.event-group-list.bordered-table.zebra-striped
  %thead
    %tr
      %th.header Service
      %th.header Message
      %th.header Type
      %th.header Env
      %th.header Last Occurrence
      %th.header
  %tbody
    - @event_groups.each do |event_group|
      %tr
        %td= link_to event_group.service, whoops_event_group_events_path(event_group)
        %td= link_to event_group.message.truncate(50), whoops_event_group_events_path(event_group)
        %td= link_to event_group.event_type, whoops_event_group_events_path(event_group)
        %td= link_to event_group.environment, whoops_event_group_events_path(event_group)
        %td= link_to event_group.last_recorded_at.to_s(:whoops_default), whoops_event_group_events_path(event_group)
        %td= link_to event_group.events.count, whoops_event_group_events_path(event_group)

= paginate(@event_groups)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whoops-0.2.1 app/views/event_groups/_list.html.haml
whoops-0.2 app/views/event_groups/_list.html.haml