update iqdb display helper
This commit is contained in:
@@ -31,6 +31,9 @@ module DelayedJobsHelper
|
|||||||
when "Class#remove_iqdb"
|
when "Class#remove_iqdb"
|
||||||
"<strong>remove from iqdb</strong>"
|
"<strong>remove from iqdb</strong>"
|
||||||
|
|
||||||
|
when "Post#update_iqdb"
|
||||||
|
"<strong>update iqdb</strong>"
|
||||||
|
|
||||||
else
|
else
|
||||||
h(job.name)
|
h(job.name)
|
||||||
end
|
end
|
||||||
@@ -62,11 +65,11 @@ module DelayedJobsHelper
|
|||||||
when "Tag#update_category_post_counts"
|
when "Tag#update_category_post_counts"
|
||||||
h(job.payload_object.name)
|
h(job.payload_object.name)
|
||||||
|
|
||||||
when "Class#process"
|
when "Class#process", "Class#remove_iqdb"
|
||||||
h(job.payload_object.args.flatten.join(" "))
|
h(job.payload_object.args.flatten.join(" "))
|
||||||
|
|
||||||
when "Class#remove_iqdb"
|
when "Post#update_iqdb"
|
||||||
h(job.payload_object.args.flatten.join(" "))
|
h(job.payload_object.id)
|
||||||
|
|
||||||
else
|
else
|
||||||
h(job.handler)
|
h(job.handler)
|
||||||
|
|||||||
Reference in New Issue
Block a user