Sha256: 83b1837608015c755f11292e2fc91ef9a51acf0dcd5fa8ca92cb4ee6bd1455ff
Contents?: true
Size: 943 Bytes
Versions: 1
Compression:
Stored size: 943 Bytes
Contents
%tr.stats{:class => "#{@stat_type.to_s}", :id => "stats_#{@job_name.gsub('::', '__')}"} %td{:colspan => 5} %h3= "#{@stat_type.to_s.capitalize} Jobs" #job_pagination{ style: 'width: 500px' }= render :partial => "pagination", locals: { job_name: @job_name, type: @stat_type, pages: @pages, current_page: @current_page } %table.stat %tr.header %td Priority %td Created %td Run %td Locked %td Attempts %td Failed - @jobs.each.with_index do |job, index| %tr{:class => "#{index % 2 === 0 ? 'striped' : nil}"} %td.center= job.priority %td= "#{time_ago_in_words job.created_at} ago" %td= job.run_at ? "#{time_ago_in_words job.run_at} ago" : "--" %td= job.locked_at ? "#{time_ago_in_words job.locked_at} ago" : "--" %td.center= job.attempts %td= job.failed_at ? "#{time_ago_in_words job.failed_at} ago" : "--"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dj_dashboard-0.0.8.7 | app/views/dj_dashboard/jobs/_stats.html.haml |