Sha256: 139e70f02fa7b4ab5678765c774b8a0b56990dbaa39069e7e8caf1637e6d3993

Contents?: true

Size: 651 Bytes

Versions: 1

Compression:

Stored size: 651 Bytes

Contents

%table.table.table-condensed.table-striped
  %thead
    %tr
      %th Time
      %th
      %th Host
      %th Type
      %th Resource Type
      %th Resource ID
  %tbody
    - @events.each do |event|
      %tr
        %td{ style: 'white-space: nowrap;' }= event.created_at.in_time_zone(Time.zone)
        %td{ style: 'white-space: nowrap;' }
          = time_ago_in_words(event.created_at.in_time_zone(Time.zone), include_seconds: true)
          ago
        %td= event.hostname
        %td= event.type
        %td= event.resource_type
        %td= event.resource_id
      %tr
        %td{colspan: 6}= simple_format(event.message)

= paginate @events

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rhea-0.2.0 app/views/rhea/events/index.html.haml