This commit is contained in:
Toks
2015-05-02 11:12:30 -04:00
parent c8b41b4045
commit 5a8674d342
7 changed files with 89 additions and 4 deletions

View File

@@ -43,6 +43,9 @@ module DelayedJobsHelper
when "Class#decrement_post_counts"
"<strong>decrement post counts</strong>"
when "Pool#update_category_pseudo_tags_for_posts"
"<strong>update pool category pseudo tags for posts</strong>"
else
h(job.name)
end
@@ -89,6 +92,9 @@ module DelayedJobsHelper
when "Class#decrement_post_counts"
h(job.payload_object.args.join(" "))
when "Pool#update_category_pseudo_tags_for_posts"
%{<a href="/pools/#{job.payload_object.id}">#{h(job.payload_object.name)}</a>}
else
h(job.handler)
end