<% workers.each_with_index do |(worker, msg), index| %> <% end %>
<%= t('Worker') %> <%= t('Queue') %> <%= t('Class') %> <%= t('Arguments') %> <%= t('Started') %>
<%= worker %> <%= msg['queue'] %> <%= msg['payload']['class'] %> <% if msg['payload']['args'].to_s.size > 100 %> <%= msg['payload']['args'].inspect[0..100] + "... " %> <% else %> <%= msg['payload']['args'] %> <% end %> <%= relative_time(msg['run_at'].is_a?(Numeric) ? Time.at(msg['run_at']) : Time.parse(msg['run_at'])) %>