add delayed job pretty printing for ugoira convert

This commit is contained in:
r888888888
2014-10-28 13:20:02 -07:00
parent 3aa0ee2a75
commit e4562d209b

View File

@@ -34,6 +34,9 @@ module DelayedJobsHelper
when "Post#update_iqdb"
"<strong>update iqdb</strong>"
when "Class#convert"
"<strong>convert ugoira</strong>"
else
h(job.name)
end
@@ -71,6 +74,9 @@ module DelayedJobsHelper
when "Post#update_iqdb"
h(job.payload_object.id)
when "Class#convert"
h(job.payload_object.args[0])
else
h(job.handler)
end