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