Sha256: 10770be073777315e0447a30c4d5a39d55fb8d10de4ab92dd146ef55dfe05b92
Contents?: true
Size: 638 Bytes
Versions: 48
Compression:
Stored size: 638 Bytes
Contents
= modal id: "job-#{ @job.model_name.route_key }", data: { :'job-status-url' => url_for(action: :show, id: @status.job_id) } do |modal| = modal.header do = @job.model_name.human - if @status.failed? = render partial: find_partial_for(@job, :failed, partial_dir: 'admin/jobs'), locals: { modal: modal, job: @job } - elsif @status.completed? = render partial: find_partial_for(@job, :completed, partial_dir: 'admin/jobs'), locals: { modal: modal, job: @job, status: @status } - else = render partial: find_partial_for(@job, :progress, partial_dir: 'admin/jobs'), locals: { modal: modal, job: @job, status: @status }
Version data entries
48 entries across 48 versions & 1 rubygems