<%= t('CurrentMessagesInQueue', :queue => h(@name)) %> <% if @queue.paused? %> <%= t('Paused') %> <% end %> <%= number_with_delimiter(@total_size) %>

<%= erb :_paging, locals: { url: "#{root_path}queues/#{CGI.escape(@name)}" } %>
<% @messages.each_with_index do |msg, index| %> <% end %>
<%= t('Job') %> <%= t('Arguments') %>
<%= h(msg.display_class) %> <% a = msg.display_args %> <% if a.inspect.size > 100 %> <%= h(a.inspect[0..100]) + "... " %>
<%= display_args(a) %>
<% else %> <%= display_args(msg.display_args) %> <% end %>
<%= csrf_tag %>
<%= erb :_paging, locals: { url: "#{root_path}queues/#{@name}" } %>