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

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