Sha256: 872f032fdb83426094d83943c3fa506b4a81e830236bbaac977cd6092c8041ec

Contents?: true

Size: 574 Bytes

Versions: 1

Compression:

Stored size: 574 Bytes

Contents

%h3 #{params[:queue_name]} pending (#{@pending_count})

= render :partial => "pags"

= will_paginate @pending

%table{:class => "table table-bordered", :style => "font-size: 8pt;"}
  %tr
    %td{:width => "10%"} EvId
    %td{:width => "15%"} Insert At
    %td{:width => "20%"} Event Type
    %td Data
  - @pending.each do |event|
    %tr
      %td= event['ev_id']
      %td= Time.parse(event['ev_time']).strftime("%d.%m.%Y %H:%M:%S") rescue '-'
      %td= event['ev_type']
      %td= Pgq::Consumer.coder.load(event['ev_data']).join(",") rescue '-'

= will_paginate @pending

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pgq_web-0.0.1 app/views/pgq_web/pgq/pending_list.haml