app/views/naf/historical_jobs/index.json.erb in naf-1.1.4 vs app/views/naf/historical_jobs/index.json.erb in naf-2.0.0

- old
+ new

@@ -6,14 +6,14 @@ if invocation.status != 'dead' && job[10] == 'Running' job[1] = "<div class='" + invocation.status + "'>" + job[1] + "</div>".html_safe end end - job[12] = link_to image_tag('papertrail_job.png', + job[12] = link_to image_tag('job.png', class: 'action', - title: "View job(id: #{job[0]}, title: #{job[4]}) log in Papertrail"), - job[12], - { target: '_blank', class: "papertrail", id: job[0] } + title: "View job(id: #{job[0]}, title: #{job[4]}) log"), + url_for({ controller: 'log_viewer', action: 'index', record_id: job[0], record_type: 'job' }), + { target: '_blank', id: job[0] } if job[10] == "Running" || job[10] == 'Queued' || job[10] == 'Waiting' job[12] << "&nbsp;&nbsp;&nbsp;".html_safe job[12] << (link_to image_tag('terminate.png', class: 'action',