Sha256: 8c6860498d11cf8f0990d727583b850ddcda141af51c4d7f5180d8f0885dc3fe

Contents?: true

Size: 1.06 KB

Versions: 8

Compression:

Stored size: 1.06 KB

Contents

%li.job
  %dl
    %dt ID
    %dd
      %a{:name => job.id}
      %a{:href => "##{job.id}"}=job.id
      %div.controls
        %a{:rel => 'retry', :href => u("requeue/#{job.id}")}Retry
        or
        %a{:rel => 'remove', :href => u("remove/#{job.id}")}Remove
    %dt Priority
    %dd= job.priority
    %dt Attempts
    %dd= job.attempts
    - if job.respond_to?(:queue) && job.queue
      %dt Queue
      %dd= job.queue
    %dt Handler
    %dd
      %pre= job.handler
    - if job.last_error
      %dt Last Error
      %dd
        %div.backtrace
          %pre= job.last_error[0..100] + '...'
        %a{:href => '#', :class => 'backtrace'} Toggle full message
        %div.backtrace.full.hide
          %pre= job.last_error
    - if job.run_at
      %dt Run At
      %dd.time= job.run_at.rfc822
    - if job.locked_at
      %dt Locked At
      %dd.time= job.locked_at.rfc822
    - if job.locked_by
      %dt Locked By
      %dd= job.locked_by
    - if job.failed_at
      %dt Failed At
      %dd.time= job.failed_at.rfc822
    %dt Created At
    %dd.time= job.created_at.rfc822

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
delayed_job_web-1.2.0 lib/delayed_job_web/application/views/job.haml
delayed_job_mongoid_web-1.1.4 lib/delayed_job_mongoid_web/application/views/job.haml
delayed_job_mongoid_web-1.1.3 lib/delayed_job_mongoid_web/application/views/job.haml
mcmire-delayed_job_web-1.1.3.rc4 lib/delayed_job_web/application/views/job.haml
mcmire-delayed_job_web-1.1.3.rc3 lib/delayed_job_web/application/views/job.haml
mcmire-delayed_job_web-1.1.3.rc2 lib/delayed_job_web/application/views/job.haml
mcmire-delayed_job_web-1.1.3.rc1 lib/delayed_job_web/application/views/job.haml
delayed_job_web-1.1.2 lib/delayed_job_web/application/views/job.haml