<% application_name = params[:application_name] %>

Apple Push Service Notifications scheduled for <%= application_name %>

Showing <%= start = params[:start].to_i %> to <%= start + 20 %> of <%=size = resque.aps_notification_count_for_application(application_name)%> notifications

<% notifications = resque.aps_notifications_for_application(application_name, start, 20) %> <% notifications.each do |notification| %> <% end %> <% if notifications.empty? %> <% end %>
Payload
<%=h notification.to_s %>
There are no pending notifications scheduled for this application.
<%= partial :next_more, :start => start, :size => size %>