Display tag sub update info on delayed jobs page

This commit is contained in:
Toks
2014-02-26 00:19:19 -05:00
committed by r888888888
parent c23ac6b69f
commit 99e7e5c0c2

View File

@@ -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