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