Display tag sub update info on delayed jobs page
This commit is contained in:
@@ -25,6 +25,9 @@ module DelayedJobsHelper
|
|||||||
when "Tag#update_category_post_counts"
|
when "Tag#update_category_post_counts"
|
||||||
"<strong>update category post counts</strong>"
|
"<strong>update category post counts</strong>"
|
||||||
|
|
||||||
|
when "Class#process"
|
||||||
|
"<strong>update tag subscription</strong>"
|
||||||
|
|
||||||
else
|
else
|
||||||
h(job.name)
|
h(job.name)
|
||||||
end
|
end
|
||||||
@@ -56,6 +59,9 @@ 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"
|
||||||
|
h(job.payload_object.args.flatten.join(" "))
|
||||||
|
|
||||||
else
|
else
|
||||||
h(job.handler)
|
h(job.handler)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user