add delayed job pretty printing for ugoira convert
This commit is contained in:
@@ -34,6 +34,9 @@ module DelayedJobsHelper
|
|||||||
when "Post#update_iqdb"
|
when "Post#update_iqdb"
|
||||||
"<strong>update iqdb</strong>"
|
"<strong>update iqdb</strong>"
|
||||||
|
|
||||||
|
when "Class#convert"
|
||||||
|
"<strong>convert ugoira</strong>"
|
||||||
|
|
||||||
else
|
else
|
||||||
h(job.name)
|
h(job.name)
|
||||||
end
|
end
|
||||||
@@ -71,6 +74,9 @@ module DelayedJobsHelper
|
|||||||
when "Post#update_iqdb"
|
when "Post#update_iqdb"
|
||||||
h(job.payload_object.id)
|
h(job.payload_object.id)
|
||||||
|
|
||||||
|
when "Class#convert"
|
||||||
|
h(job.payload_object.args[0])
|
||||||
|
|
||||||
else
|
else
|
||||||
h(job.handler)
|
h(job.handler)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user